summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2012-12-20 11:38:14 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2012-12-20 11:38:14 +0000
commitc0ba3a89ca150a1dd8cf900837db78481281c021 (patch)
treec64f47f9b0534121518c9ad469677555740d7602 /modules
parent55d0d314fd9f93e40385d24f63848e8b8b7dcbc6 (diff)
- Forward-port -r1697 [Fixed bug where ircops could not
see nick rejection notices] git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1698 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules')
-rw-r--r--modules/core/m_nick.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/core/m_nick.c b/modules/core/m_nick.c
index dbfde91..2f10317 100644
--- a/modules/core/m_nick.c
+++ b/modules/core/m_nick.c
@@ -227,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);
- sendto_realops_flags(L_ALL, UMODE_REJ, SEND_NOTICE,
+ sendto_realops_flags(UMODE_REJ, L_ALL, SEND_NOTICE,
"Forbidding reserved nick [%s] from user %s",
nick, get_client_name(client_p, HIDE_IP));
return;
@@ -296,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);
- sendto_realops_flags(L_ALL, UMODE_REJ, SEND_NOTICE,
+ sendto_realops_flags(UMODE_REJ, L_ALL, SEND_NOTICE,
"Forbidding reserved nick [%s] from user %s",
nick, get_client_name(client_p, HIDE_IP));
return;