X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fsend.c;h=1afbaec34ccf12c7a2ebfb791c8aa704f9994729;hb=5cb589f0d191e85b9bb5d8ec275b6a0db81096ed;hp=b443e30908432d5ffe410471af420f132bcd0b2d;hpb=213ee18ce43747bf0fccd8709f8bbdab01611745;p=ircu2.10.12-pk.git diff --git a/ircd/send.c b/ircd/send.c index b443e30..1afbaec 100644 --- a/ircd/send.c +++ b/ircd/send.c @@ -761,9 +761,9 @@ void sendcmdto_match_butone(struct Client *from, const char *cmd, /* send buffer along */ bump_sentalong(one); for (cptr = GlobalClientList; cptr; cptr = cli_next(cptr)) { - if (!IsRegistered(cptr) || IsServer(cptr) || - !match_it(from, cptr, to, who) || cli_fd(cli_from(cptr)) < 0 || - cli_sentalong(cptr) == sentalong_marker) + if (!IsRegistered(cptr) || IsServer(cptr) || cli_fd(cli_from(cptr)) < 0 || + cli_sentalong(cptr) == sentalong_marker || + !match_it(from, cptr, to, who)) continue; /* skip it */ cli_sentalong(cptr) = sentalong_marker;