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.
This commit is contained in:
parent
df7a3250b1
commit
d23bc305d6
|
@ -658,9 +658,9 @@ do_numeric(char numeric[], struct Client *client_p, struct Client *source_p, int
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if((chptr = find_channel(parv[1])) != NULL)
|
else if((chptr = find_channel(parv[1])) != NULL)
|
||||||
sendto_channel_local(ALL_MEMBERS, chptr,
|
sendto_channel_flags(client_p, ALL_MEMBERS, source_p, chptr,
|
||||||
":%s %s %s %s",
|
"%s %s%s",
|
||||||
source_p->name, numeric, chptr->chname, buffer);
|
numeric, chptr->chname, buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void do_alias(struct alias_entry *aptr, struct Client *source_p, char *text)
|
static void do_alias(struct alias_entry *aptr, struct Client *source_p, char *text)
|
||||||
|
|
Loading…
Reference in New Issue