aboutsummaryrefslogtreecommitdiff
path: root/src/users.cpp
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 /src/users.cpp
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 'src/users.cpp')
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 805c9da64..97c92140e 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -1078,7 +1078,7 @@ bool User::ChangeIdent(const std::string& newident)
FOREACH_MOD(OnChangeIdent, (this,newident));
- this->ident.assign(newident, 0, ServerInstance->Config->Limits.IdentMax);
+ this->ident.assign(newident, 0, ServerInstance->Config->Limits.MaxUser);
this->InvalidateCache();
return true;