aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-11-27 12:27:48 +0000
committerGravatar Sadie Powell2020-11-27 12:27:48 +0000
commit7187fc224b7fa3762a6b7cc42ddda170e35d0f8e (patch)
tree31ced81e38e5069bd03cdf7adf073068d96dd1d0 /include
parentCleanup CAPAB MODULES/MODLIST now we don't need 1202 compatibility. (diff)
Rename IdentMax to MaxUser for consistency with the other limits.
Diffstat (limited to 'include')
-rw-r--r--include/configreader.h6
1 files changed, 3 insertions, 3 deletions
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<ConfigTag> 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