mirror of
https://github.com/anope/anope.git
synced 2026-07-01 02:06:37 +02:00
Added anonymousglobal directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1732 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -430,6 +430,12 @@ options {
|
||||
* network. This directive is only required if you enable globaloncycle above.
|
||||
*/
|
||||
globaloncycleup = "Services are now back online - have a nice day"
|
||||
|
||||
/*
|
||||
* If set, Services will hide the IRC operator's nick in a global
|
||||
* message/notice. This directive is optional.
|
||||
*/
|
||||
#anonymousglobal = yes
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
+1
-1
@@ -371,7 +371,7 @@ E char *BSFantasyCharacter;
|
||||
|
||||
E bool HideStatsO;
|
||||
E bool GlobalOnCycle;
|
||||
E int AnonymousGlobal;
|
||||
E bool AnonymousGlobal;
|
||||
E char *GlobalOnCycleMessage;
|
||||
E char *GlobalOnCycleUP;
|
||||
E char **ServicesRoots;
|
||||
|
||||
+2
-2
@@ -170,7 +170,7 @@ char *BSFantasyCharacter;
|
||||
|
||||
bool HideStatsO;
|
||||
bool GlobalOnCycle;
|
||||
int AnonymousGlobal;
|
||||
bool AnonymousGlobal;
|
||||
int RestrictOperNicks;
|
||||
char *GlobalOnCycleMessage;
|
||||
char *GlobalOnCycleUP;
|
||||
@@ -669,6 +669,7 @@ int ServerConfig::Read(bool bail)
|
||||
{"options", "globaloncycle", "no", new ValueContainerBool(&GlobalOnCycle), DT_BOOLEAN, NoValidation},
|
||||
{"options", "globaloncycledown", "", new ValueContainerChar(&GlobalOnCycleMessage), DT_CHARPTR, ValidateGlobalOnCycle},
|
||||
{"options", "globaloncycleup", "", new ValueContainerChar(&GlobalOnCycleUP), DT_CHARPTR, ValidateGlobalOnCycle},
|
||||
{"options", "anonymousglobal", "no", new ValueContainerBool(&AnonymousGlobal), 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},
|
||||
@@ -1401,7 +1402,6 @@ Directive directives[] = {
|
||||
{PARAM_PORT, 0, &RemotePort3},
|
||||
{PARAM_STRING, 0, &RemotePassword3}}},
|
||||
{"RestrictOperNicks", {{PARAM_SET, PARAM_RELOAD, &RestrictOperNicks}}},
|
||||
{"AnonymousGlobal", {{PARAM_SET, PARAM_RELOAD, &AnonymousGlobal}}},
|
||||
{"UseSVSHOLD", {{PARAM_SET, PARAM_RELOAD, &UseSVSHOLD}}},
|
||||
{"UseTS6", {{PARAM_SET, 0, &UseTS6}}},
|
||||
{"UnRestrictSAdmin", {{PARAM_SET, PARAM_RELOAD, &UnRestrictSAdmin}}},
|
||||
|
||||
Reference in New Issue
Block a user