mirror of
https://github.com/anope/anope.git
synced 2026-06-28 23:06:39 +02:00
Added casesensitive directive to botserv block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1459 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -563,7 +563,13 @@ botserv
|
||||
|
||||
/*
|
||||
* If set, the bots will use a kick reason that does not retake the word when it is kicking.
|
||||
* This is especially useful if you have young people on your network.
|
||||
* This is especially useful if you have young people on your network. This directive is
|
||||
* optional.
|
||||
*/
|
||||
gentlebadwordreason = yes
|
||||
|
||||
/*
|
||||
* If set, BotServ will use case sensitive checking for badwords. This directive is optional.
|
||||
*/
|
||||
#casesensitive = yes
|
||||
}
|
||||
|
||||
+1
-1
@@ -365,7 +365,7 @@ E int BSMinUsers;
|
||||
E int BSBadWordsMax;
|
||||
E bool BSSmartJoin;
|
||||
E bool BSGentleBWReason;
|
||||
E int BSCaseSensitive;
|
||||
E bool BSCaseSensitive;
|
||||
E char *BSFantasyCharacter;
|
||||
|
||||
E int HideStatsO;
|
||||
|
||||
+2
-2
@@ -168,7 +168,7 @@ int BSMinUsers;
|
||||
int BSBadWordsMax;
|
||||
bool BSSmartJoin;
|
||||
bool BSGentleBWReason;
|
||||
int BSCaseSensitive;
|
||||
bool BSCaseSensitive;
|
||||
char *BSFantasyCharacter;
|
||||
|
||||
int HideStatsO;
|
||||
@@ -618,6 +618,7 @@ int ServerConfig::Read(bool bail)
|
||||
{"botserv", "keepdata", "0", new ValueContainerTime(&BSKeepData), DT_TIME, ValidateBotServ},
|
||||
{"botserv", "smartjoin", "no", new ValueContainerBool(&BSSmartJoin), DT_BOOLEAN, NoValidation},
|
||||
{"botserv", "gentlebadwordreason", "no", new ValueContainerBool(&BSGentleBWReason), DT_BOOLEAN, NoValidation},
|
||||
{"botserv", "casesensitive", "no", new ValueContainerBool(&BSCaseSensitive), 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
|
||||
@@ -1198,7 +1199,6 @@ Directive directives[] = {
|
||||
{"BadPassLimit", {{PARAM_POSINT, PARAM_RELOAD, &BadPassLimit}}},
|
||||
{"BadPassTimeout", {{PARAM_TIME, PARAM_RELOAD, &BadPassTimeout}}},
|
||||
{"BotCoreModules", {{PARAM_STRING, PARAM_RELOAD, &BotCoreModules}}},
|
||||
{"BSCaseSensitive", {{PARAM_SET, PARAM_RELOAD, &BSCaseSensitive}}},
|
||||
{"BSFantasyCharacter",
|
||||
{{PARAM_STRING, PARAM_RELOAD, &BSFantasyCharacter}}},
|
||||
{"HostServDB", {{PARAM_STRING, PARAM_RELOAD, &HostDBName}}},
|
||||
|
||||
Reference in New Issue
Block a user