]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_chanfilter.cpp
A little less debug saying WEEEE :]
[user/henk/code/inspircd.git] / src / modules / m_chanfilter.cpp
index 53a0ff0334ba5a9232d5888d3d5e3cd87419694b..3a6b8e26f5918097c6049ef85180af5f2d1d9b38 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
  * See: http://www.inspircd.org/wiki/index.php/Credits
  *
  * This program is free but copyrighted software; see
@@ -66,7 +66,7 @@ class ModuleChanFilter : public Module
                : Module(Me)
        {
                cf = new ChanFilter(ServerInstance);
-               if (!ServerInstance->AddMode(cf))
+               if (!ServerInstance->Modes->AddMode(cf))
                        throw ModuleException("Could not add new modes!");
 
                cf->DoImplements(this);