diff options
| author | 2020-11-27 12:27:48 +0000 | |
|---|---|---|
| committer | 2020-11-27 12:27:48 +0000 | |
| commit | 7187fc224b7fa3762a6b7cc42ddda170e35d0f8e (patch) | |
| tree | 31ced81e38e5069bd03cdf7adf073068d96dd1d0 /src/modules/m_setident.cpp | |
| parent | Cleanup 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/modules/m_setident.cpp')
| -rw-r--r-- | src/modules/m_setident.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_setident.cpp b/src/modules/m_setident.cpp index c749548c8..2894a586d 100644 --- a/src/modules/m_setident.cpp +++ b/src/modules/m_setident.cpp @@ -40,7 +40,7 @@ class CommandSetident : public Command CmdResult Handle(User* user, const Params& parameters) override { - if (parameters[0].size() > ServerInstance->Config->Limits.IdentMax) + if (parameters[0].size() > ServerInstance->Config->Limits.MaxUser) { user->WriteNotice("*** SETIDENT: Ident is too long"); return CmdResult::FAILURE; |
