aboutsummaryrefslogtreecommitdiffstats
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorGravatar brain2007-08-27 12:41:49 +0000
committerGravatar brain2007-08-27 12:41:49 +0000
commitc72f04d7e55259a050ded5fabcd702ed98aa563f (patch)
treef19a403fbf330f6180e24d532c73e02f558c8a37 /src/configreader.cpp
parentBlock UID/SID fuckage (diff)
Backport: Add options:maxtargets that was somehow omitted, fixes bug #400 (Reported by DarkStorm)
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@7878 e03df62e-2008-0410-955e-edbf42e46eb7
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 17de84cc3..343b6cb2b 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -636,6 +636,7 @@ void ServerConfig::Read(bool bail, userrec* user)
{"options", "hostintopic", "1", new ValueContainerBool (&this->FullHostInTopic), DT_BOOLEAN, NoValidation},
{"options", "hidemodes", "", new ValueContainerChar (hidemodes), DT_CHARPTR, ValidateModeLists},
{"options", "exemptchanops","", new ValueContainerChar (exemptchanops), DT_CHARPTR, ValidateExemptChanOps},
+ {"options", "maxtargets", "20", new ValueContainerUInt (&this->MaxTargets), DT_INTEGER, ValidateMaxTargets},
{"options", "defaultmodes", "nt", new ValueContainerChar (this->DefaultModes), DT_CHARPTR, NoValidation},
{"pid", "file", "", new ValueContainerChar (this->PID), DT_CHARPTR, NoValidation},
{"whowas", "groupsize", "10", new ValueContainerInt (&this->WhoWasGroupSize), DT_INTEGER, NoValidation},