1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 14:53:13 +02:00

Backport various minor config changes from 2.1.

This commit is contained in:
Sadie Powell
2025-06-25 10:04:29 +01:00
parent 4b15ca0232
commit 0bb1bc5c67
9 changed files with 178 additions and 154 deletions
+16 -17
View File
@@ -65,10 +65,6 @@
* will typically be disabled. If this is not the case, more
* information will be given in the documentation.
*
* [DISCOURAGED]
* Indicates a directive which may cause undesirable side effects if
* specified.
*
* [DEPRECATED]
* Indicates a directive which will disappear in a future version of
* Services, usually because its functionality has been either
@@ -84,12 +80,12 @@
*/
/*
* The stats.host define is used in multiple different locations throughout the
* configuration for the stats client hostname.
* The services.host define is used in multiple different locations throughout the
* configuration for the server name and pseudoclient hostnames.
*/
define
{
name = "stats.host"
name = "services.host"
value = "stats.example.com"
}
@@ -127,13 +123,16 @@ define
* and serverinfo configuration would look like:
*
* # This goes in inspircd.conf, *NOT* your Anope config!
* <module name="hidechans">
* <module name="services_account">
* <module name="spanningtree">
* <bind address="127.0.0.1" port="7000" type="servers">
* <link name="stats.example.com"
* ipaddr="127.0.0.1"
* port="7000"
* sendpass="mypassword"
* recvpass="mypassword">
* <uline server="stats.example.com" silent="yes">
* <bind address="127.0.0.1" port="7000" type="servers">
*
* An example configuration for UnrealIRCd that is compatible with the below uplink
* and serverinfo configuration would look like:
@@ -251,16 +250,16 @@ serverinfo
* You MUST modify this to match the IRCd you run.
*
* Supported:
* - bahamut
* - [DEPRECATED] bahamut
* - charybdis
* - hybrid
* - inspircd12
* - inspircd20
* - [DEPRECATED] inspircd12
* - [DEPRECATED] inspircd20
* - inspircd3 (for 3.x and 4.x)
* - ngircd
* - plexus
* - ratbox
* - unreal (for 3.2.x)
* - [DEPRECATED] unreal (for 3.2.x)
* - unreal4 (for 4.x or later)
*/
module
@@ -318,7 +317,7 @@ networkinfo
*
* It is recommended you DON'T change this.
*/
vhost_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-"
vhost_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-/"
/*
* If set to true, allows vHosts to not contain dots (.).
@@ -327,7 +326,7 @@ networkinfo
*
* It is recommended you DON'T change this.
*/
allow_undotted_vhosts = false
allow_undotted_vhosts = no
/*
* The characters that are not allowed to be at the very beginning or very ending
@@ -335,7 +334,7 @@ networkinfo
*
* It is recommended you DON'T change this.
*/
disallow_start_or_end = ".-"
disallow_start_or_end = ".-/"
}
/*
@@ -426,8 +425,8 @@ log
#source = ""
/*
* The bot used to log generic messages which have no predefined sender if there
* is a channel in the target directive.
* The bot used to log generic messages which have no predefined sender if the
* target directive is set to a channel or globops.
*/
bot = "Global"