From 6fa2633311098d9775593186f5f5e1d339434cd2 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 4 Nov 2007 22:15:46 +0000 Subject: 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 --- src/modules/m_banexception.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/modules/m_banexception.cpp') diff --git a/src/modules/m_banexception.cpp b/src/modules/m_banexception.cpp index 2066cc524..dda6a5b1d 100644 --- a/src/modules/m_banexception.cpp +++ b/src/modules/m_banexception.cpp @@ -42,15 +42,14 @@ class ModuleBanException : public Module public: - ModuleBanException(InspIRCd* Me) - : Module(Me) + ModuleBanException(InspIRCd* Me) : Module(Me) { be = new BanException(ServerInstance); if (!ServerInstance->AddMode(be)) throw ModuleException("Could not add new modes!"); ServerInstance->Modules->PublishInterface("ChannelBanList", this); - //be->DoImplements(List); + be->DoImplements(this); Implementation list[] = { I_OnRehash, I_OnRequest, I_On005Numeric, I_OnCheckBan }; Me->Modules->Attach(list, this, 4); -- cgit v1.3.1-10-gc9f91