diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-04-04 00:52:25 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-04-04 00:52:25 +0000 |
commit | 146ecc2fbba8c2a72af78d336ad58aebda656773 (patch) | |
tree | d4d7b1dd40cad0909dcc51106362167f988e1f75 /src | |
parent | 36f523249a2834b289471465c2a4b4b5a2475589 (diff) |
Remove is_services_* methods.. this forces us to actually remove uses of them.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2257 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r-- | src/operserv.c | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/operserv.c b/src/operserv.c index 012a800da..b2b05f1ef 100644 --- a/src/operserv.c +++ b/src/operserv.c @@ -343,51 +343,6 @@ void os_remove_nick(NickCore * nc) } /*************************************************************************/ - -/* Does the given user have Services root privileges? - Now enhanced. */ - -int is_services_root(User * u) -{ - if ((NSStrictPrivileges && !is_oper(u)) - || (!nick_identified(u))) - return 0; - if ((u->nc->flags & NI_SERVICES_ROOT)) - return 1; - return 0; -} - -/*************************************************************************/ - -/* Does the given user have Services admin privileges? */ - -int is_services_admin(User * u) -{ - if ((NSStrictPrivileges && !is_oper(u)) - || (!nick_identified(u))) - return 0; - if ((u->nc->flags & (NI_SERVICES_ADMIN | NI_SERVICES_ROOT))) - return 1; - return 0; -} - -/*************************************************************************/ - -/* Does the given user have Services oper privileges? */ - -int is_services_oper(User * u) -{ - if ((NSStrictPrivileges && !is_oper(u)) - || (!nick_identified(u))) - return 0; - if ((u->nc-> - flags & (NI_SERVICES_OPER | NI_SERVICES_ADMIN | - NI_SERVICES_ROOT))) - return 1; - return 0; -} - -/*************************************************************************/ /*********************** OperServ command functions **********************/ /*************************************************************************/ |