From 7e843c22e16c81054bad18073d24fe1a07026431 Mon Sep 17 00:00:00 2001 From: danieldg Date: Thu, 8 Oct 2009 23:29:21 +0000 Subject: Update Event and Request APIs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11808 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_inviteexception.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/modules/m_inviteexception.cpp') diff --git a/src/modules/m_inviteexception.cpp b/src/modules/m_inviteexception.cpp index b71992c05..91f4e22c8 100644 --- a/src/modules/m_inviteexception.cpp +++ b/src/modules/m_inviteexception.cpp @@ -46,8 +46,8 @@ public: ServerInstance->Modules->PublishInterface("ChannelBanList", this); ie.DoImplements(this); - Implementation eventlist[] = { I_OnRequest, I_On005Numeric, I_OnCheckInvite }; - ServerInstance->Modules->Attach(eventlist, this, 3); + Implementation eventlist[] = { I_On005Numeric, I_OnCheckInvite }; + ServerInstance->Modules->Attach(eventlist, this, 2); } void On005Numeric(std::string &output) @@ -77,11 +77,6 @@ public: return MOD_RES_PASSTHRU; } - const char* OnRequest(Request* request) - { - return ie.DoOnRequest(request); - } - void OnCleanup(int target_type, void* item) { ie.DoCleanup(target_type, item); -- cgit v1.2.3