diff options
Diffstat (limited to 'src/modules/m_setname.cpp')
-rw-r--r-- | src/modules/m_setname.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_setname.cpp b/src/modules/m_setname.cpp index 3bede1ad2..bc2b0f3d9 100644 --- a/src/modules/m_setname.cpp +++ b/src/modules/m_setname.cpp @@ -34,7 +34,7 @@ class CommandSetname : public Command CmdResult Handle(User* user, const Params& parameters) CXX11_OVERRIDE { - if (parameters[0].size() > ServerInstance->Config->Limits.MaxGecos) + if (parameters[0].size() > ServerInstance->Config->Limits.MaxReal) { user->WriteNotice("*** SETNAME: Real name is too long"); return CMD_FAILURE; |