From 7dfcffd6853547eb2e73d161916d5a289069baf2 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Fri, 17 May 2013 01:31:32 +0100 Subject: Start to replace MAXBUF with . --- include/configreader.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/configreader.h b/include/configreader.h index cc1412096..b9ca6940e 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -93,14 +93,16 @@ class ServerLimits size_t MaxGecos; /** Maximum away message length */ size_t MaxAway; + /** Maximum line length */ + size_t MaxLine; /** Creating the class initialises it to the defaults * as in 1.1's ./configure script. Reading other values * from the config will change these values. */ - ServerLimits() : NickMax(31), ChanMax(64), MaxModes(20), IdentMax(12), MaxQuit(255), MaxTopic(307), MaxKick(255), MaxGecos(128), MaxAway(200) - { - } + ServerLimits() : NickMax(31), ChanMax(64), MaxModes(20), IdentMax(12), + MaxQuit(255), MaxTopic(307), MaxKick(255), MaxGecos(128), MaxAway(200), + MaxLine(512) { } }; struct CommandLineConf -- cgit v1.3.1-10-gc9f91