aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_chgname.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_chgname.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_chgname.cpp')
-rw-r--r--src/modules/m_chgname.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_chgname.cpp b/src/modules/m_chgname.cpp
index 46894befc..b6c59d36f 100644
--- a/src/modules/m_chgname.cpp
+++ b/src/modules/m_chgname.cpp
@@ -45,20 +45,20 @@ class CommandChgname : public Command
if (parameters[1].empty())
{
- user->WriteNotice("*** CHGNAME: GECOS must be specified");
+ user->WriteNotice("*** CHGNAME: Real name must be specified");
return CMD_FAILURE;
}
if (parameters[1].length() > ServerInstance->Config->Limits.MaxGecos)
{
- user->WriteNotice("*** CHGNAME: GECOS too long");
+ user->WriteNotice("*** CHGNAME: Real name is too long");
return CMD_FAILURE;
}
if (IS_LOCAL(dest))
{
dest->ChangeName(parameters[1]);
- ServerInstance->SNO->WriteGlobalSno('a', "%s used CHGNAME to change %s's GECOS to '%s'", user->nick.c_str(), dest->nick.c_str(), dest->fullname.c_str());
+ 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());
}
return CMD_SUCCESS;