summaryrefslogtreecommitdiff
path: root/src/modules/m_inviteexception.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-04 22:15:46 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-04 22:15:46 +0000
commit6fa2633311098d9775593186f5f5e1d339434cd2 (patch)
tree479d0dba7d2eb88eeb5f850a225f671d710e0864 /src/modules/m_inviteexception.cpp
parent71b7b578bdac9fdf5e70dde6c3d404660cb1766f (diff)
Fix these to use new hook system (u_listmode wasnt fixed yet)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8533 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_inviteexception.cpp')
-rw-r--r--src/modules/m_inviteexception.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/modules/m_inviteexception.cpp b/src/modules/m_inviteexception.cpp
index a38f7ed8a..a29e8e4ba 100644
--- a/src/modules/m_inviteexception.cpp
+++ b/src/modules/m_inviteexception.cpp
@@ -47,15 +47,11 @@ public:
if (!ServerInstance->AddMode(ie))
throw ModuleException("Could not add new modes!");
ServerInstance->Modules->PublishInterface("ChannelBanList", this);
+
+ ie->DoImplements(this);
Implementation eventlist[] = { I_OnRequest, I_On005Numeric, I_OnCheckInvite };
ServerInstance->Modules->Attach(eventlist, this, 3);
}
-
- virtual void Implements(char* List)
- {
- ie->DoImplements(List);
- List[I_OnRequest] = List[I_On005Numeric] = List[I_OnCheckInvite] = 1;
- }
virtual void On005Numeric(std::string &output)
{