diff options
Diffstat (limited to 'src/modules/m_hidechans.cpp')
-rw-r--r-- | src/modules/m_hidechans.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_hidechans.cpp b/src/modules/m_hidechans.cpp index 42614e937..cb910aa4b 100644 --- a/src/modules/m_hidechans.cpp +++ b/src/modules/m_hidechans.cpp @@ -61,6 +61,8 @@ class ModuleHideChans : public Module hm = new HideChans(ServerInstance); if (!ServerInstance->AddMode(hm)) throw ModuleException("Could not add new modes!"); + Implementation eventlist[] = { I_OnWhoisLine }; + ServerInstance->Modules->Attach(eventlist, this, 1); } void Implements(char* List) |