From 627f54deb1e0ca2d0bb674e77d024b2f66d75b57 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 27 Apr 2005 02:30:30 +0000 Subject: 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 --- include/inspircd.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/inspircd.h') 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); + -- cgit v1.2.3