From: Jilles Tjoelker Date: Wed, 26 Dec 2007 21:46:43 +0000 (+0100) Subject: Make remote numerics to channels work. X-Git-Tag: charybdis-3.0.0-beta1~341 X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/commitdiff_plain/d23bc305d6cd1ce2b3faac52dc02993f33a3153f?ds=sidebyside;hp=df7a3250b1cf02f25d890bf7c2365c9c7b9f049a Make remote numerics to channels work. Note that +D clients do not get these. This is consistent with how ircu treats remote numerics and with how we treat server notices from other servers, but not with how locally generated notices and numerics are sent also to +D clients. --- diff --git a/src/parse.c b/src/parse.c index 38e0d30..7e62240 100644 --- a/src/parse.c +++ b/src/parse.c @@ -658,9 +658,9 @@ do_numeric(char numeric[], struct Client *client_p, struct Client *source_p, int return; } else if((chptr = find_channel(parv[1])) != NULL) - sendto_channel_local(ALL_MEMBERS, chptr, - ":%s %s %s %s", - source_p->name, numeric, chptr->chname, buffer); + sendto_channel_flags(client_p, ALL_MEMBERS, source_p, chptr, + "%s %s%s", + numeric, chptr->chname, buffer); } static void do_alias(struct alias_entry *aptr, struct Client *source_p, char *text)