summaryrefslogtreecommitdiff
path: root/src/modules/m_blockcaps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_blockcaps.cpp')
-rw-r--r--src/modules/m_blockcaps.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/modules/m_blockcaps.cpp b/src/modules/m_blockcaps.cpp
index a5a2ae5ff..ee57efafe 100644
--- a/src/modules/m_blockcaps.cpp
+++ b/src/modules/m_blockcaps.cpp
@@ -18,7 +18,6 @@
#include "users.h"
#include "channels.h"
#include "modules.h"
-
#include "inspircd.h"
#include "mode.h"
@@ -69,11 +68,7 @@ public:
void Implements(char* List)
{
- List[I_On005Numeric] = List[I_OnUserPreMessage] = List[I_OnUserPreNotice] = 1;
- }
-
- virtual void On005Numeric(std::string &output)
- {
+ List[I_OnUserPreMessage] = List[I_OnUserPreNotice] = 1;
}
virtual int OnUserPreMessage(userrec* user,void* dest,int target_type, std::string &text, char status)