summaryrefslogtreecommitdiff
path: root/src/modules/m_chgname.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-07-30 18:30:11 +0100
committerPeter Powell <petpow@saberuk.com>2018-07-30 18:30:11 +0100
commit8cb20e354533fbec24aafd4e61ff6fa69b434aa2 (patch)
tree894c77067d6cd443f3ab44b58639b03228079ec8 /src/modules/m_chgname.cpp
parent9cf448a332799a138dad0acb5b2878535770571d (diff)
Replace most usages of "GECOS" with "real" or "real name".
Diffstat (limited to 'src/modules/m_chgname.cpp')
-rw-r--r--src/modules/m_chgname.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_chgname.cpp b/src/modules/m_chgname.cpp
index fa35732b8..d0a4d6fdc 100644
--- a/src/modules/m_chgname.cpp
+++ b/src/modules/m_chgname.cpp
@@ -49,7 +49,7 @@ class CommandChgname : public Command
return CMD_FAILURE;
}
- if (parameters[1].length() > ServerInstance->Config->Limits.MaxGecos)
+ if (parameters[1].length() > ServerInstance->Config->Limits.MaxReal)
{
user->WriteNotice("*** CHGNAME: Real name is too long");
return CMD_FAILURE;