summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-27 02:30:30 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-27 02:30:30 +0000
commit627f54deb1e0ca2d0bb674e77d024b2f66d75b57 (patch)
tree5e63a8127e2850441c50f0a37c051f34fda92c8b /src/modules/extra
parent5495adad172d1644eb590d6126a8a77e3051b8b9 (diff)
Added explicit oper tracking in a vector of userrec* pointers, optimizes sending out oper notices
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1209 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_sqloper.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/extra/m_sqloper.cpp b/src/modules/extra/m_sqloper.cpp
index e491ec5ec..881e04877 100644
--- a/src/modules/extra/m_sqloper.cpp
+++ b/src/modules/extra/m_sqloper.cpp
@@ -157,6 +157,7 @@ class ModuleSQLOper : public Module
Module* Logger = Srv->FindModule("m_sqllog.so");
if (Logger)
Logger->OnOper(user);
+ AddOper(user);
log(DEFAULT,"OPER: %s!%s@%s opered as type: %s",user->nick,user->ident,user->host,rowresult->GetField("type").c_str());
}
break;