diff options
-rw-r--r-- | src/modules/m_sqllog.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/modules/m_sqllog.cpp b/src/modules/m_sqllog.cpp index a54f476c4..2c4dd1513 100644 --- a/src/modules/m_sqllog.cpp +++ b/src/modules/m_sqllog.cpp @@ -172,11 +172,7 @@ class ModuleSQLLog : public Module Implementation eventlist[] = { I_OnRehash, I_OnOper, I_OnGlobalOper, I_OnKill, I_OnPreCommand, I_OnUserRegister, I_OnUserQuit, I_OnLoadModule }; - ServerInstance->Modules->Attach(eventlist, this, 9); - } - - virtual ~ModuleSQLLog() - { + ServerInstance->Modules->Attach(eventlist, this, 8); } void ReadConfig() |