summaryrefslogtreecommitdiff
path: root/include/inspircd.h
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 /include/inspircd.h
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 'include/inspircd.h')
-rw-r--r--include/inspircd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 10852631a..c3866e279 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -175,3 +175,9 @@ bool CommonOnThisServer(userrec* u,const char* servername);
void DoSplit(const char* params);
void RemoveServer(const char* name);
void DoSync(serverrec* serv, char* tcp_host);
+
+// optimization tricks to save us walking the user hash
+
+void AddOper(userrec* user);
+void DeleteOper(userrec* user);
+