summaryrefslogtreecommitdiff
path: root/src/modules/m_botmode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_botmode.cpp')
-rw-r--r--src/modules/m_botmode.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_botmode.cpp b/src/modules/m_botmode.cpp
index 18a594c31..5b56ceabe 100644
--- a/src/modules/m_botmode.cpp
+++ b/src/modules/m_botmode.cpp
@@ -57,6 +57,8 @@ class ModuleBotMode : public Module
bm = new BotMode(ServerInstance);
if (!ServerInstance->AddMode(bm))
throw ModuleException("Could not add new modes!");
+ Implementation eventlist[] = { I_OnWhois };
+ ServerInstance->Modules->Attach(eventlist, this, 1);
}
void Implements(char* List)