From e190c2ae913682fa5da83ccf53722289c3e7d77c Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 30 Apr 2005 01:05:22 +0000 Subject: Added mode 'compression', stops abuse with modes like: +s-s+s-s+s-s git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1266 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/modules.cpp') diff --git a/src/modules.cpp b/src/modules.cpp index 339374ae2..1ba2dbc8e 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -210,7 +210,6 @@ ExtModeList EMode; // returns true if an extended mode character is in use bool ModeDefined(char modechar, int type) { - log(DEBUG,"Size of extmodes vector is %d",EMode.size()); for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) { if ((i->modechar == modechar) && (i->type == type)) @@ -223,7 +222,6 @@ bool ModeDefined(char modechar, int type) bool ModeIsListMode(char modechar, int type) { - log(DEBUG,"Size of extmodes vector is %d",EMode.size()); for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) { if ((i->modechar == modechar) && (i->type == type) && (i->list == true)) @@ -236,7 +234,6 @@ bool ModeIsListMode(char modechar, int type) bool ModeDefinedOper(char modechar, int type) { - log(DEBUG,"Size of extmodes vector is %d",EMode.size()); for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) { if ((i->modechar == modechar) && (i->type == type) && (i->needsoper == true)) -- cgit v1.3.1-10-gc9f91