diff options
Diffstat (limited to 'src/modules/m_sethost.cpp')
-rw-r--r-- | src/modules/m_sethost.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_sethost.cpp b/src/modules/m_sethost.cpp index 87b886661..7f0b3e1aa 100644 --- a/src/modules/m_sethost.cpp +++ b/src/modules/m_sethost.cpp @@ -72,6 +72,8 @@ class ModuleSetHost : public Module OnRehash(NULL,""); mycommand = new CommandSethost(ServerInstance, hostmap); ServerInstance->AddCommand(mycommand); + Implementation eventlist[] = { I_OnRehash }; + ServerInstance->Modules->Attach(eventlist, this, 1); } void Implements(char* List) |