1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-10 19:03:12 +02:00

- Replace 'his/her' with 'their' in various notices.

It is more gramatically correct, and looks less awkward while maintaining
political correctness.
This commit is contained in:
William Pitcock
2013-02-08 15:42:41 -06:00
parent 65881a9ae2
commit 87807ae81a
4 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ DLLFUNC int MOD_UNLOAD(m_invite)(int module_unload)
return MOD_SUCCESS;
}
/* Send the user his/her list of active invites */
/* Send the user their list of active invites */
int send_invite_list(aClient *sptr)
{
Link *inv;
+5 -5
View File
@@ -379,13 +379,13 @@ DLLFUNC CMD_FUNC(m_nick)
/*
** If acptr == sptr, then we have a client doing a nick
** change between *equivalent* nicknames as far as server
** is concerned (user is changing the case of his/her
** is concerned (user is changing the case of their
** nickname or somesuch)
*/
if (acptr == sptr) {
if (strcmp(acptr->name, nick) != 0)
{
/* Allows change of case in his/her nick */
/* Allows change of case in their nick */
removemoder = 0; /* don't set the user -r */
goto nickkilldone; /* -- go and process change */
} else
@@ -656,19 +656,19 @@ DLLFUNC CMD_FUNC(m_nick)
} else
sptr->user->flood.nick_c++;
sendto_snomask(SNO_NICKCHANGE, "*** Notice -- %s (%s@%s) has changed his/her nickname to %s",
sendto_snomask(SNO_NICKCHANGE, "*** Notice -- %s (%s@%s) has changed their nickname to %s",
sptr->name, sptr->user->username, sptr->user->realhost, nick);
RunHook2(HOOKTYPE_LOCAL_NICKCHANGE, sptr, nick);
} else {
if (!IsULine(sptr))
sendto_snomask(SNO_FNICKCHANGE, "*** Notice -- %s (%s@%s) has changed his/her nickname to %s",
sendto_snomask(SNO_FNICKCHANGE, "*** Notice -- %s (%s@%s) has changed their nickname to %s",
sptr->name, sptr->user->username, sptr->user->realhost, nick);
RunHook3(HOOKTYPE_REMOTE_NICKCHANGE, cptr, sptr, nick);
}
/*
* Client just changing his/her nick. If he/she is
* Client just changing their nick. If he/she is
* on a channel, send note of change to all clients
* on that channel. Propagate notice to other servers.
*/
+1 -1
View File
@@ -120,7 +120,7 @@ aClient *ocptr; /* Other client */
hash_check_watch(acptr, RPL_LOGOFF);
sendto_snomask(SNO_NICKCHANGE,
"*** Notice -- %s (%s@%s) has been forced to change his/her nickname to %s",
"*** Notice -- %s (%s@%s) has been forced to change their nickname to %s",
acptr->name, acptr->user->username, acptr->user->realhost, parv[2]);
RunHook2(HOOKTYPE_LOCAL_NICKCHANGE, acptr, parv[2]);
+8 -8
View File
@@ -207,15 +207,15 @@ static void who_sendhelp(aClient *sptr)
"Flag a: user is away",
"Flag c <channel>: user is on <channel>,",
" no wildcards accepted",
"Flag h <host>: user has string <host> in his/her hostname,",
"Flag h <host>: user has string <host> in their hostname,",
" wildcards accepted",
"Flag m <usermodes>: user has <usermodes> set, only",
" O/o/C/A/a/N/B are allowed",
"Flag n <nick>: user has string <nick> in his/her nickname,",
"Flag n <nick>: user has string <nick> in their nickname,",
" wildcards accepted",
"Flag s <server>: user is on server <server>,",
" wildcards not accepted",
"Flag u <user>: user has string <user> in his/her username,",
"Flag u <user>: user has string <user> in their username,",
" wildcards accepted",
"Behavior flags:",
"Flag M: check for user in channels I am a member of",
@@ -230,18 +230,18 @@ static void who_sendhelp(aClient *sptr)
"Flag a: user is away",
"Flag c <channel>: user is on <channel>,",
" no wildcards accepted",
"Flag g <gcos/realname>: user has string <gcos> in his/her GCOS,",
"Flag g <gcos/realname>: user has string <gcos> in their GCOS,",
" wildcards accepted",
"Flag h <host>: user has string <host> in his/her hostname,",
"Flag h <host>: user has string <host> in their hostname,",
" wildcards accepted",
"Flag i <ip>: user has string <ip> in his/her IP address,",
"Flag i <ip>: user has string <ip> in their IP address,",
" wildcards accepted",
"Flag m <usermodes>: user has <usermodes> set",
"Flag n <nick>: user has string <nick> in his/her nickname,",
"Flag n <nick>: user has string <nick> in their nickname,",
" wildcards accepted",
"Flag s <server>: user is on server <server>,",
" wildcards not accepted",
"Flag u <user>: user has string <user> in his/her username,",
"Flag u <user>: user has string <user> in their username,",
" wildcards accepted",
"Behavior flags:",
"Flag M: check for user in channels I am a member of",