mirror of
https://github.com/anope/anope.git
synced 2026-06-25 11:56:37 +02:00
Added killonsqline directive to operserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1478 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -738,4 +738,11 @@ operserv
|
||||
* is optional.
|
||||
*/
|
||||
#killonsgline = yes
|
||||
|
||||
/*
|
||||
* If set, this option will make Services send an (SVS)KILL command immediately after SQLINE ADD.
|
||||
* This eliminates the need for killingthe user after the SQLINE has been added. This directive
|
||||
* is optional.
|
||||
*/
|
||||
#killonsqline = yes
|
||||
}
|
||||
|
||||
+1
-1
@@ -385,7 +385,7 @@ E time_t SQLineExpiry;
|
||||
E time_t SZLineExpiry;
|
||||
E bool AkillOnAdd;
|
||||
E bool KillonSGline;
|
||||
E int KillonSQline;
|
||||
E bool KillonSQline;
|
||||
E int DisableRaw;
|
||||
E int WallOper;
|
||||
E int WallBadOS;
|
||||
|
||||
+2
-2
@@ -191,7 +191,7 @@ time_t SQLineExpiry;
|
||||
time_t SZLineExpiry;
|
||||
bool AkillOnAdd;
|
||||
bool KillonSGline;
|
||||
int KillonSQline;
|
||||
bool KillonSQline;
|
||||
int WallOper;
|
||||
int WallBadOS;
|
||||
int WallOSGlobal;
|
||||
@@ -654,6 +654,7 @@ int ServerConfig::Read(bool bail)
|
||||
{"operserv", "szlineexpiry", "0", new ValueContainerTime(&SZLineExpiry), DT_TIME, ValidateNotZero},
|
||||
{"operserv", "akillonadd", "no", new ValueContainerBool(&AkillOnAdd), DT_BOOLEAN, NoValidation},
|
||||
{"operserv", "killonsgline", "no", new ValueContainerBool(&KillonSGline), DT_BOOLEAN, NoValidation},
|
||||
{"operserv", "killonsqline", "no", new ValueContainerBool(&KillonSQline), DT_BOOLEAN, NoValidation},
|
||||
{NULL, NULL, NULL, NULL, DT_NOTHING, NoValidation}
|
||||
};
|
||||
/* These tags can occur multiple times, and therefore they have special code to read them
|
||||
@@ -1261,7 +1262,6 @@ Directive directives[] = {
|
||||
{"LogBot", {{PARAM_SET, PARAM_RELOAD, &LogBot}}},
|
||||
{"KeepBackups", {{PARAM_INT, PARAM_RELOAD, &KeepBackups}}},
|
||||
{"KeepLogs", {{PARAM_INT, PARAM_RELOAD, &KeepLogs}}},
|
||||
{"KillonSQline", {{PARAM_SET, PARAM_RELOAD, &KillonSQline}}},
|
||||
{"AddAkiller", {{PARAM_SET, PARAM_RELOAD, &AddAkiller}}},
|
||||
{"LimitSessions", {{PARAM_SET, 0, &LimitSessions}}},
|
||||
{"LocalAddress", {{PARAM_STRING, 0, &LocalHost},
|
||||
|
||||
Reference in New Issue
Block a user