aboutsummaryrefslogtreecommitdiffstats
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorGravatar Peter Powell2014-03-06 21:43:36 +0000
committerGravatar Attila Molnar2014-03-08 13:01:09 +0100
commitf2db4b743f0df9b9e588979fd0fcf2815e54af44 (patch)
treeaaef011a92d187cb1e7a81355de18e2f58d8815e /src/configreader.cpp
parentFix m_permchannels not prepending the path when reading the config. (diff)
downloadinspircd++-f2db4b743f0df9b9e588979fd0fcf2815e54af44.tar.gz
inspircd++-f2db4b743f0df9b9e588979fd0fcf2815e54af44.tar.bz2
inspircd++-f2db4b743f0df9b9e588979fd0fcf2815e54af44.zip
Make the maximum hostname length configurable in the config.
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index b9417bf3c..baeffb015 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -399,6 +399,7 @@ void ServerConfig::Fill()
Limits.ChanMax = ConfValue("limits")->getInt("maxchan", 64);
Limits.MaxModes = ConfValue("limits")->getInt("maxmodes", 20);
Limits.IdentMax = ConfValue("limits")->getInt("maxident", 11);
+ Limits.MaxHost = ConfValue("limits")->getInt("maxhost", 64);
Limits.MaxQuit = ConfValue("limits")->getInt("maxquit", 255);
Limits.MaxTopic = ConfValue("limits")->getInt("maxtopic", 307);
Limits.MaxKick = ConfValue("limits")->getInt("maxkick", 255);