From e38bf41b0b2ea858d8b4a6c29cd8eca0b6a59f59 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 26 Aug 2008 01:37:05 +0000 Subject: Someone messed this up git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10300 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_oper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/cmd_oper.cpp') diff --git a/src/commands/cmd_oper.cpp b/src/commands/cmd_oper.cpp index 8522890e0..aada9c09d 100644 --- a/src/commands/cmd_oper.cpp +++ b/src/commands/cmd_oper.cpp @@ -21,7 +21,7 @@ bool OneOfMatches(const char* host, const char* ip, const char* hostlist) std::string 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; } -- cgit v1.2.3