diff options
Diffstat (limited to 'src/modules/m_nonotice.cpp')
-rw-r--r-- | src/modules/m_nonotice.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/modules/m_nonotice.cpp b/src/modules/m_nonotice.cpp index 978353229..792c0a094 100644 --- a/src/modules/m_nonotice.cpp +++ b/src/modules/m_nonotice.cpp @@ -16,17 +16,13 @@ using namespace std; -#include <stdio.h> #include "users.h" #include "channels.h" #include "modules.h" - #include "inspircd.h" /* $ModDesc: Provides support for unreal-style channel mode +T */ - - class NoNotice : public ModeHandler { public: @@ -71,7 +67,7 @@ class ModuleNoNotice : public Module void Implements(char* List) { - List[I_OnUserPreNotice] = List[I_On005Numeric] = 1; + List[I_OnUserPreNotice] = 1; } virtual int OnUserPreNotice(userrec* user,void* dest,int target_type, std::string &text, char status) @@ -96,10 +92,6 @@ class ModuleNoNotice : public Module return 0; } - virtual void On005Numeric(std::string &output) - { - } - virtual ~ModuleNoNotice() { DELETE(nt); |