diff options
Diffstat (limited to 'src/modules/m_hostchange.cpp')
-rw-r--r-- | src/modules/m_hostchange.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_hostchange.cpp b/src/modules/m_hostchange.cpp index 68f3fdcbe..7433fccd3 100644 --- a/src/modules/m_hostchange.cpp +++ b/src/modules/m_hostchange.cpp @@ -58,7 +58,7 @@ class ModuleHostChange : public Module { OnRehash(NULL); Implementation eventlist[] = { I_OnRehash, I_OnUserConnect }; - ServerInstance->Modules->Attach(eventlist, this, 2); + ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation)); } virtual void OnRehash(User* user) |