summaryrefslogtreecommitdiff
path: root/src/modules/m_knock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_knock.cpp')
-rw-r--r--src/modules/m_knock.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_knock.cpp b/src/modules/m_knock.cpp
index 7948dc0db..8b9fd5ed5 100644
--- a/src/modules/m_knock.cpp
+++ b/src/modules/m_knock.cpp
@@ -78,6 +78,11 @@ class ModuleKnock : public Module
Srv->AddCommand(mycommand);
}
+ void Implements(char* List)
+ {
+ List[I_On005Numeric] = List[I_OnExtendedMode] = 1;
+ }
+
virtual void On005Numeric(std::string &output)
{
std::stringstream line(output);