From de6a9294e350a7339e280ab3e8a5f4c8d1343660 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 29 Nov 2005 17:09:06 +0000 Subject: Added opertype to OnOper and added OnMode function git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2010 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_sqllog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/extra') diff --git a/src/modules/extra/m_sqllog.cpp b/src/modules/extra/m_sqllog.cpp index 0596fdc74..d47dc7190 100644 --- a/src/modules/extra/m_sqllog.cpp +++ b/src/modules/extra/m_sqllog.cpp @@ -190,7 +190,7 @@ class ModuleSQLLog : public Module InsertEntry((unsigned)category,(unsigned)nickid,(unsigned)hostid,(unsigned)sourceid,(unsigned long)time(NULL)); } - virtual void OnOper(userrec* user) + virtual void OnOper(userrec* user, std::string opertype) { AddLogEntry(LT_OPER,user->nick,user->host,user->server); } -- cgit v1.2.3