summaryrefslogtreecommitdiff
path: root/src/modules/m_noctcp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_noctcp.cpp')
-rw-r--r--src/modules/m_noctcp.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_noctcp.cpp b/src/modules/m_noctcp.cpp
index 2dd249559..131b5dc3c 100644
--- a/src/modules/m_noctcp.cpp
+++ b/src/modules/m_noctcp.cpp
@@ -37,6 +37,11 @@ class ModuleNoCTCP : public Module
Srv->AddExtendedMode('C',MT_CHANNEL,false,0,0);
}
+ void Implements(char* List)
+ {
+ List[I_OnExtendedMode] = List[I_On005Numeric] = List[I_OnUserPreMessage] = List[I_OnUserPreNotice] = 1;
+ }
+
virtual void On005Numeric(std::string &output)
{
std::stringstream line(output);