]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix counting error in r12237
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>
Sat, 2 Jan 2010 21:10:14 +0000 (21:10 +0000)
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>
Sat, 2 Jan 2010 21:10:14 +0000 (21:10 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12240 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_sqllog.cpp

index a54f476c479ce6b5425a8f2dcb73a40e5ab73c86..2c4dd1513cb5ff21eb71371fc20d7448a8b12148 100644 (file)
@@ -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()