mirror of
https://github.com/anope/anope.git
synced 2026-07-03 15:53:13 +02:00
Added useprivmsg directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1722 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -368,6 +368,17 @@ options {
|
||||
* well. This directive is optional.
|
||||
*/
|
||||
forceforbidreason = yes
|
||||
|
||||
/*
|
||||
* If set, this will allow users to let Services send PRIVMSGs to them
|
||||
* instead of NOTICEs. Also see the defmsg option of nickserv:defaults,
|
||||
* which also toggles the default communication (PRIVMSG or NOTICE) to
|
||||
* use for unregistered users. This directive is optional.
|
||||
*
|
||||
* This is a feature that is against the IRC RFC and should be used ONLY
|
||||
* if absolutely necessary.
|
||||
*/
|
||||
#useprivmsg = yes
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
+1
-1
@@ -295,7 +295,7 @@ E time_t TimeoutCheck;
|
||||
E int KeepLogs;
|
||||
E int KeepBackups;
|
||||
E bool ForceForbidReason;
|
||||
E int UsePrivmsg;
|
||||
E bool UsePrivmsg;
|
||||
E int UseStrictPrivMsg;
|
||||
E int DumpCore;
|
||||
E int LogUsers;
|
||||
|
||||
+2
-2
@@ -97,7 +97,7 @@ time_t TimeoutCheck;
|
||||
int KeepLogs;
|
||||
int KeepBackups;
|
||||
bool ForceForbidReason;
|
||||
int UsePrivmsg;
|
||||
bool UsePrivmsg;
|
||||
int UseStrictPrivMsg;
|
||||
int DumpCore;
|
||||
int LogUsers;
|
||||
@@ -650,6 +650,7 @@ int ServerConfig::Read(bool bail)
|
||||
{"options", "keeplogs", "0", new ValueContainerInt(&KeepLogs), DT_INTEGER, NoValidation},
|
||||
{"options", "keepbackups", "0", new ValueContainerInt(&KeepBackups), DT_INTEGER, NoValidation},
|
||||
{"options", "forceforbidreason", "no", new ValueContainerBool(&ForceForbidReason), DT_BOOLEAN, NoValidation},
|
||||
{"options", "useprivmsg", "no", new ValueContainerBool(&UsePrivmsg), DT_BOOLEAN, NoValidation},
|
||||
{"nickserv", "nick", "NickServ", new ValueContainerChar(&s_NickServ), DT_CHARPTR | DT_NORELOAD, ValidateNotEmpty},
|
||||
{"nickserv", "description", "Nickname Registration Service", new ValueContainerChar(&desc_NickServ), DT_CHARPTR | DT_NORELOAD, ValidateNotEmpty},
|
||||
{"nickserv", "database", "nick.db", new ValueContainerChar(&NickDBName), DT_CHARPTR, ValidateNotEmpty},
|
||||
@@ -1390,7 +1391,6 @@ Directive directives[] = {
|
||||
{"GlobalOnCycleMessage",
|
||||
{{PARAM_STRING, PARAM_RELOAD, &GlobalOnCycleMessage}}},
|
||||
{"GlobalOnCycleUP", {{PARAM_STRING, PARAM_RELOAD, &GlobalOnCycleUP}}},
|
||||
{"UsePrivmsg", {{PARAM_SET, PARAM_RELOAD, &UsePrivmsg}}},
|
||||
{"UseStrictPrivMsg", {{PARAM_SET, PARAM_RELOAD, &UseStrictPrivMsg}}},
|
||||
{"UseSVSHOLD", {{PARAM_SET, PARAM_RELOAD, &UseSVSHOLD}}},
|
||||
{"UseTS6", {{PARAM_SET, 0, &UseTS6}}},
|
||||
|
||||
Reference in New Issue
Block a user