From 3f60750d77680c22788dcd12e615c0190a81ee41 Mon Sep 17 00:00:00 2001 From: danieldg Date: Sat, 2 Jan 2010 21:10:14 +0000 Subject: Fix counting error in r12237 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12240 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_sqllog.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/modules') 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() -- cgit v1.2.3