diff options
| author | 2007-08-27 12:41:25 +0000 | |
|---|---|---|
| committer | 2007-08-27 12:41:25 +0000 | |
| commit | 31478b968fcdef3f6747456062ce8dddcd409673 (patch) | |
| tree | 39c8482f2372e7cfb2354e4a976b411d7456ecfc /src/configreader.cpp | |
| parent | Add uuid hash_map - its management is automatic via userrec constructors/dest... (diff) | |
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
Diffstat (limited to 'src/configreader.cpp')
| -rw-r--r-- | src/configreader.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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}, |
