diff options
Diffstat (limited to 'src/modules/m_securelist.cpp')
-rw-r--r-- | src/modules/m_securelist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_securelist.cpp b/src/modules/m_securelist.cpp index 9645c2ba9..6013d1fd7 100644 --- a/src/modules/m_securelist.cpp +++ b/src/modules/m_securelist.cpp @@ -33,7 +33,7 @@ class ModuleSecureList : public Module { OnRehash(NULL); Implementation eventlist[] = { I_OnRehash, I_OnPreCommand, I_On005Numeric }; - ServerInstance->Modules->Attach(eventlist, this, 3); + ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation)); } virtual ~ModuleSecureList() |