1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 17:23:14 +02:00

Remove UnRestrictSAdmin.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1738 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
rburchell
2008-11-16 00:56:17 +00:00
parent 69d5982adb
commit 01806ba861
4 changed files with 5 additions and 19 deletions
-1
View File
@@ -304,7 +304,6 @@ E int UseSVSHOLD;
E bool RestrictOperNicks;
E int NewsCount;
E char *Numeric;
E int UnRestrictSAdmin;
E int UseTS6;
E char **HostSetters;
+5 -4
View File
@@ -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
};
/*************************************************************************/
-7
View File
@@ -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);
-7
View File
@@ -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);