From 7187fc224b7fa3762a6b7cc42ddda170e35d0f8e Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 27 Nov 2020 12:27:48 +0000 Subject: Rename IdentMax to MaxUser for consistency with the other limits. --- include/configreader.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/configreader.h b/include/configreader.h index f66d61080..fd0145264 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -129,8 +129,8 @@ class ServerLimits size_t ChanMax; /** Maximum number of modes per line */ size_t MaxModes; - /** Maximum length of ident, not including ~ etc */ - size_t IdentMax; + /** Maximum length of a username (ident) */ + size_t MaxUser; /** Maximum length of a quit message */ size_t MaxQuit; /** Maximum topic length */ @@ -150,7 +150,7 @@ class ServerLimits ServerLimits(std::shared_ptr tag); /** Maximum length of a n!u\@h mask */ - size_t GetMaxMask() const { return NickMax + 1 + IdentMax + 1 + MaxHost; } + size_t GetMaxMask() const { return NickMax + 1 + MaxUser + 1 + MaxHost; } }; struct CommandLineConf -- cgit v1.3.1-10-gc9f91