From d23bc305d6cd1ce2b3faac52dc02993f33a3153f Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Wed, 26 Dec 2007 22:46:43 +0100 Subject: [PATCH] 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. --- src/parse.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)