]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_stripcolor.cpp
Make rehash work more than once per run, and fix some uninitialized values in connect...
[user/henk/code/inspircd.git] / src / modules / m_stripcolor.cpp
index 8e2b0e8d9e5d2100c894fff513341c151b40a032..19f658ee0f628bf05b0880c44c9267cf73089756 100644 (file)
@@ -3,7 +3,7 @@
  *       +------------------------------------+
  *
  *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
- * See: http://www.inspircd.org/wiki/index.php/Credits
+ * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
  *         the file COPYING for details.
@@ -125,7 +125,7 @@ class ModuleStripColor : public Module
                                return 0;
                        }
 
-                       active = t->IsModeSet('S') || t->IsExtBanned(user, 'S');
+                       active = t->IsModeSet('S') || t->GetExtBanStatus(user, 'S') < 0;
                }
 
                if (active)