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 /src/config.cpp | |
parent | bb8e04c83588b6d0595eca463170643a3bd84285 (diff) |
Made the IsValidHost checks configurable
Diffstat (limited to 'src/config.cpp')
-rw-r--r-- | src/config.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.cpp b/src/config.cpp index 28cf7aee6..bf32bce5f 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -1195,6 +1195,9 @@ ConfigItems::ConfigItems(ServerConfig *conf) {"memoserv", "notifyall", "no", new ValueContainerBool(&conf->MSNotifyAll), DT_BOOLEAN, NoValidation}, {"memoserv", "memoreceipt", "0", new ValueContainerUInt(&conf->MSMemoReceipt), DT_UINTEGER, NoValidation}, {"hostserv", "name", "", new ValueContainerString(&conf->HostServ), DT_STRING, NoValidation}, + {"hostserv", "vhost_chars", "abcdefghijklmnopqrstuvwxyzABCDEFGHIJMLMNOPQRSTUVWXYZ0123456789.-", new ValueContainerString(&conf->VhostChars), DT_STRING, NoValidation}, + {"hostserv", "allow_undotted_vhosts", "false", new ValueContainerBool(&conf->VhostUndotted), DT_BOOLEAN, NoValidation}, + {"hostserv", "disallow_start_or_end", "", new ValueContainerString(&conf->VhostDisallowBE), DT_STRING, NoValidation}, {"botserv", "name", "", new ValueContainerString(&conf->BotServ), DT_STRING, NoValidation}, {"botserv", "defaults", "", new ValueContainerString(&BSDefaults), DT_STRING, NoValidation}, {"botserv", "minusers", "0", new ValueContainerUInt(&conf->BSMinUsers), DT_UINTEGER, ValidateBotServ}, |