updates.
[silc.git] / apps / silcd / packet_receive.c
index dc38962f82a9f2bcf1f74d0323b56db3498b67b0..d4899345a514001b22b1d0e8a0d2ef5e5d741692 100644 (file)
@@ -1881,6 +1881,9 @@ void silc_server_new_channel(SilcServer server,
        return;
       }
 
+      /* Get the mode and set it to the channel */
+      channel->mode = silc_channel_get_mode(payload);
+
       /* Send the new channel key to the server */
       chk = silc_channel_key_payload_encode(id_len, id,
                                            strlen(channel->channel_key->