diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-04-21 09:36:19 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-04-21 09:36:19 +0000 |
commit | 18eddaf3a60077910f503a1c89d327c3ba62fed6 (patch) | |
tree | 0b862088f112fac873719662f8265c6a1997cf9b /modules/core | |
parent | d3ba377982adb2fb5410445049aa39a0467eba11 (diff) |
- Numeric 432 now shows the actual reason of quarantined nicknames
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1838 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules/core')
-rw-r--r-- | modules/core/m_nick.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/modules/core/m_nick.c b/modules/core/m_nick.c index a490292..bd86fd7 100644 --- a/modules/core/m_nick.c +++ b/modules/core/m_nick.c @@ -217,7 +217,8 @@ mr_nick(struct Client *client_p, struct Client *source_p, if (!valid_nickname(nick, 1)) { sendto_one(source_p, form_str(ERR_ERRONEUSNICKNAME), me.name, - source_p->name[0] ? source_p->name : "*", parv[1]); + source_p->name[0] ? source_p->name : "*", parv[1], + "Erroneous Nickname"); return; } @@ -226,7 +227,7 @@ mr_nick(struct Client *client_p, struct Client *source_p, { ++conf->count; sendto_one(source_p, form_str(ERR_ERRONEUSNICKNAME), me.name, - source_p->name[0] ? source_p->name : "*", nick); + source_p->name[0] ? source_p->name : "*", nick, conf->reason); sendto_realops_flags(UMODE_REJ, L_ALL, SEND_NOTICE, "Forbidding reserved nick [%s] from user %s", nick, get_client_name(client_p, HIDE_IP)); @@ -283,8 +284,8 @@ m_nick(struct Client *client_p, struct Client *source_p, /* check the nickname is ok */ if (!valid_nickname(nick, 1)) { - sendto_one(source_p, form_str(ERR_ERRONEUSNICKNAME), - me.name, source_p->name, nick); + sendto_one(source_p, form_str(ERR_ERRONEUSNICKNAME), me.name, + source_p->name, nick, "Erroneous Nickname"); return; } @@ -295,7 +296,7 @@ m_nick(struct Client *client_p, struct Client *source_p, { ++conf->count; sendto_one(source_p, form_str(ERR_ERRONEUSNICKNAME), - me.name, source_p->name, nick); + me.name, source_p->name, nick, conf->reason); sendto_realops_flags(UMODE_REJ, L_ALL, SEND_NOTICE, "Forbidding reserved nick [%s] from user %s", nick, get_client_name(client_p, HIDE_IP)); |