Someone messed this up

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10300 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
brain 2008-08-26 01:37:05 +00:00
parent 0281234db5
commit e38bf41b0b

View File

@ -21,7 +21,7 @@ bool OneOfMatches(const char* host, const char* ip, const char* hostlist)
std::string xhost; std::string xhost;
while (hl >> xhost) while (hl >> xhost)
{ {
if (InspIRCd::MatchCIDR(host, xhost, NULL) || InspIRCd::MatchCIDR(ip, xhost, NULL)) if (InspIRCd::Match(host, xhost, NULL) || InspIRCd::MatchCIDR(ip, xhost, NULL))
{ {
return true; return true;
} }