diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-25 22:23:06 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-25 22:23:06 +0000 |
commit | 1afe959c7574b479e4a49a62885d2ac2757025ab (patch) | |
tree | ceaff5ca1994000cd2c28374dfd0100eeb8d6c95 /src/modules/m_services.cpp | |
parent | 8a7ee30ce6f5cc762619556b042182b7e7b57ba2 (diff) |
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
Diffstat (limited to 'src/modules/m_services.cpp')
-rw-r--r-- | src/modules/m_services.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/modules/m_services.cpp b/src/modules/m_services.cpp index aad54ffa2..dc33cb9ed 100644 --- a/src/modules/m_services.cpp +++ b/src/modules/m_services.cpp @@ -16,12 +16,9 @@ using namespace std; -#include <stdio.h> #include "users.h" #include "channels.h" #include "modules.h" -#include <string> - #include "commands.h" #include "hashcomp.h" #include "inspircd.h" @@ -30,8 +27,6 @@ static bool kludgeme = false; /* $ModDesc: Povides support for services +r user/chan modes and more */ - - class Channel_r : public ModeHandler { @@ -189,10 +184,6 @@ class ModuleServices : public Module kludgeme = false; } - virtual void On005Numeric(std::string &output) - { - } - /* <- :stitch.chatspike.net 307 w00t w00t :is a registered nick */ virtual void OnWhois(userrec* source, userrec* dest) { @@ -205,7 +196,7 @@ class ModuleServices : public Module void Implements(char* List) { - List[I_OnWhois] = List[I_OnUserPostNick] = List[I_OnUserPreMessage] = List[I_On005Numeric] = List[I_OnUserPreNotice] = List[I_OnUserPreJoin] = 1; + List[I_OnWhois] = List[I_OnUserPostNick] = List[I_OnUserPreMessage] = List[I_OnUserPreNotice] = List[I_OnUserPreJoin] = 1; } virtual void OnUserPostNick(userrec* user, const std::string &oldnick) |