1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-05 04:53:13 +02:00

- Fixed complex command aliases not working properly, patch from Nazzy (#2722).

This commit is contained in:
Bram Matthys
2006-01-16 20:53:03 +00:00
parent 44375e1dd5
commit 979eacdaf5
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -970,3 +970,4 @@
- Did the same for /(G)ZLINE *@hostmask (should be *@ipmask), this already was a warning
in 3.2.3, and is an error now in 3.2.4.
- Little /STATS v tweak: should display 'v' in output, not 'V'. Reported by Robby22 (#2700).
- Fixed complex command aliases not working properly, patch from Nazzy (#2722).
+3 -3
View File
@@ -417,15 +417,15 @@ int ret;
aChannel *chptr;
if ((chptr = find_channel(format->nick, NULL)))
{
if (!can_send(sptr, chptr, parv[1], 0))
if (!can_send(sptr, chptr, output, 0))
{
if (alias->spamfilter && (ret = dospamfilter(sptr, parv[1], SPAMF_CHANMSG, chptr->chname, 0, NULL)) < 0)
if (alias->spamfilter && (ret = dospamfilter(sptr, output, SPAMF_CHANMSG, chptr->chname, 0, NULL)) < 0)
return ret;
sendto_channelprefix_butone_tok(sptr,
sptr, chptr,
PREFIX_ALL, MSG_PRIVATE,
TOK_PRIVATE, chptr->chname,
parv[1], 0);
output, 0);
return 0;
}
}