summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-02 21:10:14 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-02 21:10:14 +0000
commit3f60750d77680c22788dcd12e615c0190a81ee41 (patch)
tree37d0e3b9d7bd2d83e9ccee4f2d54ff29450d6967
parent55730fa073d6aaf058954af6ae64f38cf2c5cbb9 (diff)
Fix counting error in r12237
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12240 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_sqllog.cpp6
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()