X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilcd%2Fpacket_send.c;h=ab5b6219e96f24d9c07f432b06bbbb6a4a100b31;hb=c08107c80b816558a1c48ada27eaf23840793157;hp=b37f1c7af79bd9a31e6acdd95a363eb1f3448bfa;hpb=e1d9ce9886ca71287f2634784fb766fad31b7744;p=silc.git diff --git a/apps/silcd/packet_send.c b/apps/silcd/packet_send.c index b37f1c7a..ab5b6219 100644 --- a/apps/silcd/packet_send.c +++ b/apps/silcd/packet_send.c @@ -781,7 +781,8 @@ void silc_server_packet_relay_to_channel(SilcServer server, silc_hash_table_list(channel->user_list, &htl); while (silc_hash_table_get(&htl, NULL, (void *)&chl)) { client = chl->client; - if (!client || client == sender_entry) + if (!client || client == sender_entry || + chl->mode & SILC_CHANNEL_UMODE_BLOCK_MESSAGES) continue; /* If the client has set router it means that it is not locally