updates.
[silc.git] / apps / silcd / packet_send.c
index b37f1c7af79bd9a31e6acdd95a363eb1f3448bfa..ab5b6219e96f24d9c07f432b06bbbb6a4a100b31 100644 (file)
@@ -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