summaryrefslogtreecommitdiff
path: root/src/modules/m_swhois.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_swhois.cpp')
-rw-r--r--src/modules/m_swhois.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp
index cd82bce67..ff7c9d783 100644
--- a/src/modules/m_swhois.cpp
+++ b/src/modules/m_swhois.cpp
@@ -108,6 +108,8 @@ class ModuleSWhois : public Module
Conf = new ConfigReader(ServerInstance);
mycommand = new CommandSwhois(ServerInstance);
ServerInstance->AddCommand(mycommand);
+ Implementation eventlist[] = { I_OnDecodeMetaData, I_OnWhoisLine, I_OnSyncUserMetaData, I_OnUserQuit, I_OnCleanup, I_OnRehash, I_OnPostCommand };
+ ServerInstance->Modules->Attach(eventlist, this, 7);
}
void OnRehash(User* user, const std::string &parameter)