diff options
| author | 2018-04-10 11:05:11 -0600 | |
|---|---|---|
| committer | 2018-04-11 18:59:17 +0100 | |
| commit | e3f22fcf31cd2e789d1be90cf0edf3e82829b54e (patch) | |
| tree | b9d53dea1ca074cf8434414b22fcde2e5a08bdd6 /src/modules/m_setname.cpp | |
| parent | Change ServerInfo::gecos to description (diff) | |
Change some usage of "gecos" to "real name"
Within the example configs, helpops, some server sent messages, and
simple code comments: change the primary usage of "gecos" to
"real name" (or "realname" where fitting).
Diffstat (limited to 'src/modules/m_setname.cpp')
| -rw-r--r-- | src/modules/m_setname.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_setname.cpp b/src/modules/m_setname.cpp index 34428e9c0..b8efd98aa 100644 --- a/src/modules/m_setname.cpp +++ b/src/modules/m_setname.cpp @@ -29,20 +29,20 @@ class CommandSetname : public Command CommandSetname(Module* Creator) : Command(Creator,"SETNAME", 1, 1) { allow_empty_last_param = false; - syntax = "<new-gecos>"; + syntax = "<newname>"; } CmdResult Handle(const std::vector<std::string>& parameters, User* user) CXX11_OVERRIDE { if (parameters[0].size() > ServerInstance->Config->Limits.MaxGecos) { - user->WriteNotice("*** SETNAME: GECOS too long"); + user->WriteNotice("*** SETNAME: Real name is too long"); return CMD_FAILURE; } if (user->ChangeName(parameters[0])) { - ServerInstance->SNO->WriteGlobalSno('a', "%s used SETNAME to change their GECOS to '%s'", user->nick.c_str(), parameters[0].c_str()); + ServerInstance->SNO->WriteGlobalSno('a', "%s used SETNAME to change their real name to '%s'", user->nick.c_str(), parameters[0].c_str()); } return CMD_SUCCESS; |
