diff options
Diffstat (limited to 'src/modules/m_showwhois.cpp')
-rw-r--r-- | src/modules/m_showwhois.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_showwhois.cpp b/src/modules/m_showwhois.cpp index 02a74535c..322fc4a62 100644 --- a/src/modules/m_showwhois.cpp +++ b/src/modules/m_showwhois.cpp @@ -62,6 +62,8 @@ class ModuleShowwhois : public Module sw = new SeeWhois(ServerInstance); if (!ServerInstance->AddMode(sw)) throw ModuleException("Could not add new modes!"); + Implementation eventlist[] = { I_OnWhois }; + ServerInstance->Modules->Attach(eventlist, this, 1); } ~ModuleShowwhois() |