diff options
| author | Adam <Adam@anope.org> | 2011-08-25 00:36:04 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-09-10 01:58:38 -0400 |
| commit | d4db2b84f250b98ec3422f2be9951f567e6dc97e (patch) | |
| tree | 3c119be0fa5a5f166664858a0cea0c9344e1db7e /data | |
| parent | bb8e04c83588b6d0595eca463170643a3bd84285 (diff) | |
Made the IsValidHost checks configurable
Diffstat (limited to 'data')
| -rw-r--r-- | data/hostserv.example.conf | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/data/hostserv.example.conf b/data/hostserv.example.conf index 575c6a416..7e6156374 100644 --- a/data/hostserv.example.conf +++ b/data/hostserv.example.conf @@ -64,6 +64,34 @@ hostserv * The name of the client that should be HostServ. */ name = "HostServ" + + /* + * The characters allowed in a vhost. Changing this is not recommended unless + * you know for sure your IRCd supports whatever characters you are wanting to use. + * Telling services to set a vhost containing characters your IRCd disallows could + * potentially break the IRCd and/or Services. Note these are 1 byte characters, so + * UTF-8 characters will not work. + * + * It is recommended you DON'T change this. + */ + vhost_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJMLMNOPQRSTUVWXYZ0123456789.-" + + /* + * If set, allows vhosts to not contain dots (.). + * Newer IRCds generally do not have a problem with this, but the same warning as + * vhost_chars applies. + * + * It is recommended you DON'T change this. + */ + allow_undotted_vhosts = false + + /* + * The characters that are not allowed to be at the very beginning or very ending + * of a vhost. The same warning as vhost_chars applies. + * + * It is recommended you DON'T change this. + */ + disallow_start_or_end = ".-" } /* |
