diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-11-29 17:23:03 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-11-29 17:23:03 +0000 |
commit | c09e39fa58c88eabf6c933cb78d1ea67d6fbe2c8 (patch) | |
tree | 7d8577ac0536e93bf34cf8357a30e963dffe86c6 /src/modules | |
parent | 075bff5a141ba2d80ecbd255f21fada6b2eb8175 (diff) |
Fixed for new OnOper syntax
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2015 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/extra/m_sqloper.cpp | 2 |
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()); } |