summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-08-25 00:36:04 -0400
committerAdam <Adam@anope.org>2011-09-10 01:58:38 -0400
commitd4db2b84f250b98ec3422f2be9951f567e6dc97e (patch)
tree3c119be0fa5a5f166664858a0cea0c9344e1db7e /include/config.h
parentbb8e04c83588b6d0595eca463170643a3bd84285 (diff)
Made the IsValidHost checks configurable
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index e2b626c9c..47b4c36e1 100644
--- a/include/config.h
+++ b/include/config.h
@@ -541,6 +541,13 @@ class CoreExport ServerConfig
/* Who can use memos reciepts */
unsigned MSMemoReceipt;
+ /* Valid chars allowed in vhosts */
+ Anope::string VhostChars;
+ /* Allow undotted vhosts? */
+ bool VhostUndotted;
+ /* Chars disallowed at the beginning or end of vhosts */
+ Anope::string VhostDisallowBE;
+
/* Core BotServ modules */
Anope::string BotCoreModules;
/* Default BotServ flags */