summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/operserv.c45
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 **********************/
/*************************************************************************/