summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-29 17:23:03 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-29 17:23:03 +0000
commitc09e39fa58c88eabf6c933cb78d1ea67d6fbe2c8 (patch)
tree7d8577ac0536e93bf34cf8357a30e963dffe86c6
parent075bff5a141ba2d80ecbd255f21fada6b2eb8175 (diff)
Fixed for new OnOper syntax
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2015 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/extra/m_sqloper.cpp2
1 files changed, 1 insertions, 1 deletions
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());
}