From c09e39fa58c88eabf6c933cb78d1ea67d6fbe2c8 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 29 Nov 2005 17:23:03 +0000 Subject: Fixed for new OnOper syntax git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2015 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_sqloper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/extra/m_sqloper.cpp b/src/modules/extra/m_sqloper.cpp index 9f2426d52..714374769 100644 --- a/src/modules/extra/m_sqloper.cpp +++ b/src/modules/extra/m_sqloper.cpp @@ -158,7 +158,7 @@ class ModuleSQLOper : public Module WriteServ(user->fd,"MODE %s :+o",user->nick); Module* Logger = Srv->FindModule("m_sqllog.so"); if (Logger) - Logger->OnOper(user); + Logger->OnOper(user,rowresult->GetField("type")); AddOper(user); log(DEFAULT,"OPER: %s!%s@%s opered as type: %s",user->nick,user->ident,user->host,rowresult->GetField("type").c_str()); } -- cgit v1.2.3