From 1afe959c7574b479e4a49a62885d2ac2757025ab Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 25 Aug 2006 22:23:06 +0000 Subject: Remove On005Numeric event from a ton of modules which no longer need it (as CHANMODES= part of 005 is now automatically done) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5024 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_noctcp.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/modules/m_noctcp.cpp') diff --git a/src/modules/m_noctcp.cpp b/src/modules/m_noctcp.cpp index 008fdae5e..2891abd5e 100644 --- a/src/modules/m_noctcp.cpp +++ b/src/modules/m_noctcp.cpp @@ -16,11 +16,9 @@ using namespace std; -#include #include "users.h" #include "channels.h" #include "modules.h" - #include "inspircd.h" /* $ModDesc: Provides support for unreal-style channel mode +c */ @@ -72,13 +70,9 @@ class ModuleNoCTCP : public Module void Implements(char* List) { - List[I_On005Numeric] = List[I_OnUserPreMessage] = List[I_OnUserPreNotice] = 1; + List[I_OnUserPreMessage] = List[I_OnUserPreNotice] = 1; } - virtual void On005Numeric(std::string &output) - { - } - virtual int OnUserPreMessage(userrec* user,void* dest,int target_type, std::string &text, char status) { return OnUserPreNotice(user,dest,target_type,text,status); -- cgit v1.2.3