diff options
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 2 |
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; |
