From 8b59411646d1fba0e2c1bfa0c662af958b1e5775 Mon Sep 17 00:00:00 2001 From: "trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Sat, 30 Oct 2004 05:16:48 +0000 Subject: BUILD : 1.7.5 (434) BUGS : N/A NOTES : 1. fixed typo in the lang files, 2. updated de.l from Crazytoon, 3. UnRestrictSAdmin for Bahamut to allow them the usage of +a without being a Service Admin git-svn-id: svn://svn.anope.org/anope/trunk@434 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@289 5417fbe8-f217-4b02-8779-1006273d7864 --- src/bahamut.c | 3 +++ src/config.c | 3 +++ 2 files changed, 6 insertions(+) (limited to 'src') diff --git a/src/bahamut.c b/src/bahamut.c index 64623ddd1..67c4112c5 100644 --- a/src/bahamut.c +++ b/src/bahamut.c @@ -165,6 +165,9 @@ void anope_set_umode(User * user, int ac, char **av) add = 0; break; case 'a': + if (UnRestrictSAdmin) { + break; + } if (add && !is_services_admin(user)) { common_svsmode(user, "-a", NULL); user->mode &= ~UMODE_a; diff --git a/src/config.c b/src/config.c index 746cf7c7a..35ab3d981 100644 --- a/src/config.c +++ b/src/config.c @@ -326,6 +326,8 @@ long unsigned int UserKey3; int Numeric; +int UnRestrictSAdmin; + /*************************************************************************/ /* Deprecated directive (dep_) and value checking (chk_) functions: */ @@ -631,6 +633,7 @@ Directive directives[] = { {"UseSVSHOLD", {{PARAM_SET, PARAM_RELOAD, &UseSVSHOLD}}}, {"UseSVS2MODE", {{PARAM_SET, PARAM_RELOAD, &UseSVS2MODE}}}, {"UseTokens", {{PARAM_SET, 0, &UseTokens}}}, + {"UnRestrictSAdmin", {{PARAM_SET, PARAM_RELOAD, &UnRestrictSAdmin}}}, {"WallAkillExpire", {{PARAM_SET, PARAM_RELOAD, &WallAkillExpire}}}, {"WallBadOS", {{PARAM_SET, PARAM_RELOAD, &WallBadOS}}}, {"WallDrop", {{PARAM_SET, PARAM_RELOAD, &WallDrop}}}, -- cgit