summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-11-25 22:37:54 -0500
committerAdam <Adam@anope.org>2012-11-25 22:37:54 -0500
commit1bdb756b258e2acce1db96584b540f452370e1a8 (patch)
tree7c4d048f987627cbec23c32d8bc961ed8278aba0 /src
parent80c573eed7c053f8bf5ef437eb948e821b8adc07 (diff)
Restrict the length of kick reasons in cs_kick, cs_ban, and cs_akick
Diffstat (limited to 'src')
-rw-r--r--src/config.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.cpp b/src/config.cpp
index c78ecb8ed..8078da0ce 100644
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -1287,6 +1287,7 @@ ConfigItems::ConfigItems(ServerConfig *conf)
{"chanserv", "require", "", new ValueContainerString(&conf->CSRequire), DT_STRING, NoValidation},
{"chanserv", "use_server_side_mlock", "yes", new ValueContainerBool(&conf->UseServerSideMLock), DT_BOOLEAN, NoValidation},
{"chanserv", "use_server_side_topiclock", "yes", new ValueContainerBool(&conf->UseServerSideTopicLock), DT_BOOLEAN, NoValidation},
+ {"chanserv", "reasonmax", "200", new ValueContainerUInt(&conf->CSReasonMax), DT_UINTEGER, NoValidation},
{"memoserv", "name", "", new ValueContainerString(&conf->MemoServ), DT_STRING, NoValidation},
{"memoserv", "maxmemos", "0", new ValueContainerUInt(&conf->MSMaxMemos), DT_UINTEGER, NoValidation},
{"memoserv", "senddelay", "0", new ValueContainerTime(&conf->MSSendDelay), DT_TIME, NoValidation},