diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-16 00:56:17 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-16 00:56:17 +0000 |
commit | 01806ba86146730cf404daef624ee5208fc2e056 (patch) | |
tree | 8bf6127239d9bd2a9be5189dd2400c8082a51723 /src | |
parent | 69d5982adbc763150beee66bf45196d808dfb991 (diff) |
Remove UnRestrictSAdmin.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1738 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r-- | src/config.c | 9 | ||||
-rw-r--r-- | src/protocol/bahamut.c | 7 | ||||
-rw-r--r-- | src/protocol/unreal32.c | 7 |
3 files changed, 5 insertions, 18 deletions
diff --git a/src/config.c b/src/config.c index 54aa6adb1..7f741d60e 100644 --- a/src/config.c +++ b/src/config.c @@ -293,10 +293,7 @@ long unsigned int UserKey2; long unsigned int UserKey3; char *Numeric; - -int UnRestrictSAdmin; - -static char *UlineServers; +char *UlineServers; char **Ulines; int NumUlines; @@ -1396,7 +1393,11 @@ Directive directives[] = { {PARAM_STRING, 0, &RemotePassword3}}}, {"UseSVSHOLD", {{PARAM_SET, PARAM_RELOAD, &UseSVSHOLD}}}, {"UseTS6", {{PARAM_SET, 0, &UseTS6}}}, +<<<<<<< HEAD:src/config.c {"UnRestrictSAdmin", {{PARAM_SET, PARAM_RELOAD, &UnRestrictSAdmin}}}, +======= + {"UlineServers", {{PARAM_STRING, PARAM_RELOAD, &UlineServers}}}, +>>>>>>> Remove UnRestrictSAdmin.:src/config.c }; /*************************************************************************/ diff --git a/src/protocol/bahamut.c b/src/protocol/bahamut.c index d26379aa9..9effddb20 100644 --- a/src/protocol/bahamut.c +++ b/src/protocol/bahamut.c @@ -488,13 +488,6 @@ class BahamutIRCdProto : public IRCDProto case '-': add = 0; break; - case 'a': - if (UnRestrictSAdmin) break; - if (add && !is_services_admin(user)) { - common_svsmode(user, "-a", NULL); - user->mode &= ~UMODE_a; - } - break; case 'd': if (!ac) { alog("user: umode +d with no parameter (?) for user %s", user->nick); diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c index ab52ddf43..5a820f3aa 100644 --- a/src/protocol/unreal32.c +++ b/src/protocol/unreal32.c @@ -565,13 +565,6 @@ class UnrealIRCdProto : public IRCDProto } else --opcnt; break; - case 'a': - if (UnRestrictSAdmin) break; - if (add && !is_services_admin(user)) { - common_svsmode(user, "-a", NULL); - user->mode &= ~UMODE_a; - } - break; case 'r': if (add && !nick_identified(user)) { common_svsmode(user, "-r", NULL); |