diff options
author | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-26 04:33:40 +0000 |
---|---|---|
committer | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-26 04:33:40 +0000 |
commit | 2df19fbcd70187dd35f0352d080959cfb645055e (patch) | |
tree | bb3d4fe867acec2310691af7cd5d5353447b822c /src | |
parent | c49c0e5d6c82babf885b973c2c29df449f4d3404 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.c b/src/config.c index a9752666a..e339009d5 100644 --- a/src/config.c +++ b/src/config.c @@ -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}, |