]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix this one too
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 4 Nov 2007 16:26:46 +0000 (16:26 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 4 Nov 2007 16:26:46 +0000 (16:26 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8501 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_banexception.cpp

index 8bd53d62d2b64ed7199def1873fcc50c4d37dd36..d489177372a8ab6bf978f975a55d6052743060ce 100644 (file)
@@ -49,12 +49,10 @@ public:
                if (!ServerInstance->AddMode(be))
                        throw ModuleException("Could not add new modes!");
                ServerInstance->Modules->PublishInterface("ChannelBanList", this);
-       }
-       
-       virtual void Implements(char* List)
-       {
-               be->DoImplements(List);
-               List[I_OnRehash] = List[I_OnRequest] = List[I_On005Numeric] = List[I_OnCheckBan] = 1;
+
+               //be->DoImplements(List);
+               Implementation list[] = { I_OnRehash, I_OnRequest, I_On005Numeric, I_OnCheckBan };
+               Me->Modules->Attach(this, list, sizeof(list));
        }
        
        virtual void On005Numeric(std::string &output)