aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_setname.cpp
diff options
context:
space:
mode:
authorGravatar genius30002018-04-10 11:05:11 -0600
committerGravatar Peter Powell2018-04-11 18:59:17 +0100
commite3f22fcf31cd2e789d1be90cf0edf3e82829b54e (patch)
treeb9d53dea1ca074cf8434414b22fcde2e5a08bdd6 /src/modules/m_setname.cpp
parentChange 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.cpp6
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;