diff options
author | Peter Powell <petpow@saberuk.com> | 2018-07-30 18:34:57 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2018-07-30 18:34:57 +0100 |
commit | 7bde9de9b3e25a285d82d93ef6b1d3ef9c597e43 (patch) | |
tree | dc053af10e29fe2fda599e2f23548649a60bbe15 /src/modules/m_chgname.cpp | |
parent | 8cb20e354533fbec24aafd4e61ff6fa69b434aa2 (diff) |
Replace most usages of "name" with "real" or "real name".
Diffstat (limited to 'src/modules/m_chgname.cpp')
-rw-r--r-- | src/modules/m_chgname.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_chgname.cpp b/src/modules/m_chgname.cpp index d0a4d6fdc..f6ab800be 100644 --- a/src/modules/m_chgname.cpp +++ b/src/modules/m_chgname.cpp @@ -29,7 +29,7 @@ class CommandChgname : public Command { allow_empty_last_param = false; flags_needed = 'o'; - syntax = "<nick> <newname>"; + syntax = "<nick> <new real name>"; TRANSLATE2(TR_NICK, TR_TEXT); } @@ -57,7 +57,7 @@ class CommandChgname : public Command if (IS_LOCAL(dest)) { - dest->ChangeName(parameters[1]); + dest->ChangeRealName(parameters[1]); ServerInstance->SNO->WriteGlobalSno('a', "%s used CHGNAME to change %s's real name to '%s'", user->nick.c_str(), dest->nick.c_str(), dest->fullname.c_str()); } |