From 5c06a0f3351f187e737e99d1f1ddaac267284377 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 30 Sep 2020 17:21:52 +0100 Subject: Check that the values specified in are reasonable. --- include/configreader.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/configreader.h b/include/configreader.h index d8866e7d9..7274dfad8 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -95,6 +95,8 @@ class CoreExport ConfigTag : public refcountbase class ServerLimits { public: + /** Maximum line length */ + size_t MaxLine; /** Maximum nickname length */ size_t NickMax; /** Maximum channel length */ @@ -113,8 +115,6 @@ class ServerLimits size_t MaxReal; /** Maximum away message length */ size_t MaxAway; - /** Maximum line length */ - size_t MaxLine; /** Maximum hostname length */ size_t MaxHost; -- cgit v1.2.3