From c72f04d7e55259a050ded5fabcd702ed98aa563f Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 27 Aug 2007 12:41:49 +0000 Subject: 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 --- src/configreader.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/configreader.cpp') 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}, -- cgit v1.3.1-10-gc9f91