From 31478b968fcdef3f6747456062ce8dddcd409673 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 27 Aug 2007 12:41:25 +0000 Subject: Add options:maxtargets that was somehow omitted, fixes bug #400 (Reported by DarkStorm) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7877 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/configreader.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/configreader.cpp b/src/configreader.cpp index a22e0c620..35dee3732 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -670,6 +670,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.2.3