summaryrefslogtreecommitdiff
path: root/src/commands.cpp
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/commands.cpp
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/commands.cpp')
-rw-r--r--src/commands.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 024e7e90c..f1614b772 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -1664,6 +1664,7 @@ void handle_oper(char **parameters, int pcnt, userrec *user)
NetSendToAll(global);
FOREACH_MOD OnOper(user);
log(DEFAULT,"OPER: %s!%s@%s opered as type: %s",user->nick,user->ident,user->host,OperType);
+ AddOper(user);
}
}
else