From f4a4901fee693791493c340fd380658a24d4cf26 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 6 Aug 2006 16:09:29 +0000 Subject: Support CIDR, CIDR zline, /oper and CIDR tags. NOTE: With CIDR oper, ident field is not supported (yet) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4732 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/helperfuncs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/helperfuncs.cpp') diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index 9ba9d7b39..1ebf89008 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -1405,7 +1405,7 @@ ConnectClass GetClass(userrec *user) { for (ClassVector::iterator i = Config->Classes.begin(); i != Config->Classes.end(); i++) { - if ((match(user->GetIPString(),i->host.c_str())) || (match(user->host,i->host.c_str()))) + if ((match(user->GetIPString(),i->host.c_str(),true)) || (match(user->host,i->host.c_str()))) { return *i; } -- cgit v1.2.3