diff options
| author | 2018-07-30 18:34:57 +0100 | |
|---|---|---|
| committer | 2018-07-30 18:34:57 +0100 | |
| commit | 7bde9de9b3e25a285d82d93ef6b1d3ef9c597e43 (patch) | |
| tree | dc053af10e29fe2fda599e2f23548649a60bbe15 /src/modules/m_setname.cpp | |
| parent | Replace most usages of "GECOS" with "real" or "real name". (diff) | |
Replace most usages of "name" with "real" or "real name".
Diffstat (limited to 'src/modules/m_setname.cpp')
| -rw-r--r-- | src/modules/m_setname.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_setname.cpp b/src/modules/m_setname.cpp index bc2b0f3d9..efe7028b7 100644 --- a/src/modules/m_setname.cpp +++ b/src/modules/m_setname.cpp @@ -29,7 +29,7 @@ class CommandSetname : public Command CommandSetname(Module* Creator) : Command(Creator,"SETNAME", 1, 1) { allow_empty_last_param = false; - syntax = "<newname>"; + syntax = "<new real name>"; } CmdResult Handle(User* user, const Params& parameters) CXX11_OVERRIDE @@ -40,7 +40,7 @@ class CommandSetname : public Command return CMD_FAILURE; } - if (user->ChangeName(parameters[0])) + if (user->ChangeRealName(parameters[0])) { ServerInstance->SNO->WriteGlobalSno('a', "%s used SETNAME to change their real name to '%s'", user->nick.c_str(), parameters[0].c_str()); } |
