diff options
author | Sadie Powell <sadie@witchery.services> | 2020-09-30 17:21:52 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2020-09-30 17:21:52 +0100 |
commit | 5c06a0f3351f187e737e99d1f1ddaac267284377 (patch) | |
tree | f85a6a69f857cee6b556fc9521540a9131cbfc56 /include/configreader.h | |
parent | 49a165ef13cbe41dd7ed73e53a97437735868046 (diff) |
Check that the values specified in <limits> are reasonable.
Diffstat (limited to 'include/configreader.h')
-rw-r--r-- | include/configreader.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; |