]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_banexception.cpp
More AddModes fixes
[user/henk/code/inspircd.git] / src / modules / m_banexception.cpp
index 4c0e93deabfbe77bd7839e639616053703313059..8bd53d62d2b64ed7199def1873fcc50c4d37dd36 100644 (file)
@@ -46,7 +46,7 @@ public:
        : Module(Me)
        {
                be = new BanException(ServerInstance);
-               if (!ServerInstance->AddMode(be, 'e'))
+               if (!ServerInstance->AddMode(be))
                        throw ModuleException("Could not add new modes!");
                ServerInstance->Modules->PublishInterface("ChannelBanList", this);
        }