summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-04 16:26:46 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-04 16:26:46 +0000
commit25df845b90ae9520a51baebbe25623fa04a6283e (patch)
tree0de11156f61a9435c6688ee590ccd7517a2a8320 /src
parent2282f5c9f52ae11901a3f1965e41df4a36a30424 (diff)
Fix this one too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8501 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_banexception.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/modules/m_banexception.cpp b/src/modules/m_banexception.cpp
index 8bd53d62d..d48917737 100644
--- a/src/modules/m_banexception.cpp
+++ b/src/modules/m_banexception.cpp
@@ -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)