mirror of
https://github.com/anope/anope.git
synced 2026-06-30 00:36:37 +02:00
Added ulineservers directive to options block in new config.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1736 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -460,6 +460,15 @@ options {
|
||||
* This directive is optional, if left out, defaults to 3.
|
||||
*/
|
||||
#newscount = 3
|
||||
|
||||
/*
|
||||
* A space-separated list of ulined servers on your network, it is assumed that
|
||||
* the servers in this list are allowed to set channel modes and Services will
|
||||
* not attempt to reverse their mode changes. This directive is optional.
|
||||
*
|
||||
* WARNING: Do NOT put your user servers in this directive.
|
||||
*/
|
||||
ulineservers = "stats.your.network proxy.your.network"
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -453,7 +453,6 @@ E char *ExceptionDBName;
|
||||
E char *SessionLimitDetailsLoc;
|
||||
E char *SessionLimitExceeded;
|
||||
|
||||
E char *UlineServers;
|
||||
E char **Ulines;
|
||||
E int NumUlines;
|
||||
|
||||
|
||||
+2
-2
@@ -296,7 +296,7 @@ char *Numeric;
|
||||
|
||||
int UnRestrictSAdmin;
|
||||
|
||||
char *UlineServers;
|
||||
static char *UlineServers;
|
||||
char **Ulines;
|
||||
int NumUlines;
|
||||
|
||||
@@ -673,6 +673,7 @@ int ServerConfig::Read(bool bail)
|
||||
{"options", "nickregdelay", "0", new ValueContainerInt(&NickRegDelay), DT_INTEGER, NoValidation},
|
||||
{"options", "restrictopernicks", "no", new ValueContainerBool(&RestrictOperNicks), DT_BOOLEAN, NoValidation},
|
||||
{"options", "newscount", "3", new ValueContainerInt(&NewsCount), DT_INTEGER, NoValidation},
|
||||
{"options", "ulineservers", "", new ValueContainerChar(&UlineServers), DT_CHARPTR, 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},
|
||||
@@ -1405,7 +1406,6 @@ Directive directives[] = {
|
||||
{"UseSVSHOLD", {{PARAM_SET, PARAM_RELOAD, &UseSVSHOLD}}},
|
||||
{"UseTS6", {{PARAM_SET, 0, &UseTS6}}},
|
||||
{"UnRestrictSAdmin", {{PARAM_SET, PARAM_RELOAD, &UnRestrictSAdmin}}},
|
||||
{"UlineServers", {{PARAM_STRING, PARAM_RELOAD, &UlineServers}}},
|
||||
};
|
||||
|
||||
/*************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user