mybb/mybb — pull request #1678 by Evenprime (2014-12-04 19:23:31+00:00)
Title: Fix searching for Users by IP with IP range in ModCP

The problem is explained in the thread http://community.mybb.com/thread-163625.html

If a mod attempts to use IP ranges (like 123.123.123.* which would mean "all ips from 123.123.123.0 to 123.123.123.255) in the IP search feature of the modcp, he will never get any user results, because no last IP nor registration IP can satisfy the original conditions in those if blocks.