diff options
| author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:09 +0000 |
|---|---|---|
| committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:09 +0000 |
| commit | 2fd6bf39b1b018a7081fafd8350ea88f1b733ea5 (patch) | |
| tree | 0dad452b2a0d221aab16417978b4743408c975f4 /src/operserv.c | |
| parent | 0f2719990e6b61c9172e0a4593b7a1605bb29f44 (diff) | |
Remove 'skeleton' mode. It's not really all that useful.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1200 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/operserv.c')
| -rw-r--r-- | src/operserv.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/operserv.c b/src/operserv.c index d41d2cbd2..b501dd02f 100644 --- a/src/operserv.c +++ b/src/operserv.c @@ -578,9 +578,9 @@ void os_remove_nick(NickCore * nc) int is_services_root(User * u) { if ((NSStrictPrivileges && !is_oper(u)) - || (!skeleton && !nick_identified(u))) + || (!nick_identified(u))) return 0; - if (skeleton || (u->na->nc->flags & NI_SERVICES_ROOT)) + if ((u->na->nc->flags & NI_SERVICES_ROOT)) return 1; return 0; } @@ -592,10 +592,9 @@ int is_services_root(User * u) int is_services_admin(User * u) { if ((NSStrictPrivileges && !is_oper(u)) - || (!skeleton && !nick_identified(u))) + || (!nick_identified(u))) return 0; - if (skeleton - || (u->na->nc->flags & (NI_SERVICES_ADMIN | NI_SERVICES_ROOT))) + if ((u->na->nc->flags & (NI_SERVICES_ADMIN | NI_SERVICES_ROOT))) return 1; return 0; } @@ -607,10 +606,9 @@ int is_services_admin(User * u) int is_services_oper(User * u) { if ((NSStrictPrivileges && !is_oper(u)) - || (!skeleton && !nick_identified(u))) + || (!nick_identified(u))) return 0; - if (skeleton - || (u->na->nc-> + if ((u->na->nc-> flags & (NI_SERVICES_OPER | NI_SERVICES_ADMIN | NI_SERVICES_ROOT))) return 1; |
