summaryrefslogtreecommitdiff
path: root/src/config.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-03-31 00:20:20 -0500
committerAdam <Adam@anope.org>2013-03-31 00:43:11 -0500
commit6e0dc0e2103494d50dd4bd9920550d1653365f05 (patch)
tree10b89c24cae17069a0cc97db376d960220f7089d /src/config.cpp
parent7e7556f06445d4d8e607ef514c9fb5009899db73 (diff)
Add networkinfo:modelistsize config option to set the max size of b/e/I lists
Diffstat (limited to 'src/config.cpp')
-rw-r--r--src/config.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.cpp b/src/config.cpp
index 3e52b4ae9..1c2aae988 100644
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -1139,6 +1139,7 @@ ConfigItems::ConfigItems(ServerConfig *conf)
{"networkinfo", "userlen", "10", new ValueContainerUInt(&conf->UserLen), DT_UINTEGER | DT_NORELOAD, NoValidation},
{"networkinfo", "hostlen", "64", new ValueContainerUInt(&conf->HostLen), DT_UINTEGER | DT_NORELOAD, NoValidation},
{"networkinfo", "chanlen", "32", new ValueContainerUInt(&conf->ChanLen), DT_UINTEGER | DT_NORELOAD, NoValidation},
+ {"networkinfo", "modelistsize", "0", new ValueContainerUInt(&conf->ListSize), DT_UINTEGER, NoValidation},
{"options", "user", "", new ValueContainerString(&conf->User), DT_STRING, NoValidation},
{"options", "group", "", new ValueContainerString(&conf->Group), DT_STRING, NoValidation},
{"options", "casemap", "ascii", new ValueContainerString(&conf->CaseMap), DT_STRING, NoValidation},