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. --- src/modules/m_chgident.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_chgident.cpp') diff --git a/src/modules/m_chgident.cpp b/src/modules/m_chgident.cpp index d05892569..889fc1720 100644 --- a/src/modules/m_chgident.cpp +++ b/src/modules/m_chgident.cpp @@ -50,7 +50,7 @@ class CommandChgident : public Command return CmdResult::FAILURE; } - if (parameters[1].length() > ServerInstance->Config->Limits.IdentMax) + if (parameters[1].length() > ServerInstance->Config->Limits.MaxUser) { user->WriteNotice("*** CHGIDENT: Ident is too long"); return CmdResult::FAILURE; -- cgit v1.3.1-10-gc9f91