X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=blobdiff_plain;f=ircd%2Fm_wallvoices.c;h=c5d0461dab54fc7b1ba0e9a733d92543de83b8cb;hp=2fdc5f3fdef3b353dcc311259e7d38ea1a5e0c88;hb=73b468873b9040d72fc91da29229192ec8fc2393;hpb=bb32073dacc5af56cf186bcabe562ef068675eb6 diff --git a/ircd/m_wallvoices.c b/ircd/m_wallvoices.c index 2fdc5f3..c5d0461 100644 --- a/ircd/m_wallvoices.c +++ b/ircd/m_wallvoices.c @@ -114,7 +114,7 @@ int m_wallvoices(struct Client* cptr, struct Client* sptr, int parc, char* parv[ return send_reply(sptr, ERR_NOTEXTTOSEND); if (IsChannelName(parv[1]) && (chptr = FindChannel(parv[1]))) { - if (client_can_send_to_channel(sptr, chptr, 0)) { + if (client_can_send_to_channel(sptr, chptr, 1)) { if ((chptr->mode.mode & MODE_NOPRIVMSGS) && check_target_limit(sptr, chptr, chptr->chname, 0)) return 0; @@ -144,7 +144,7 @@ int ms_wallvoices(struct Client* cptr, struct Client* sptr, int parc, char* parv return 0; if (!IsLocalChannel(parv[1]) && (chptr = FindChannel(parv[1]))) { - if (client_can_send_to_channel(sptr, chptr, 0)) { + if (client_can_send_to_channel(sptr, chptr, 1)) { sendcmdto_channel_butone(sptr, CMD_WALLVOICES, chptr, cptr, SKIP_DEAF | SKIP_BURST | SKIP_NONVOICES, "%H :%s", chptr, parv[parc - 1]);