mode, otherwise no key is created.
+Wed Aug 24 18:27:48 CEST 2005 Patrik Weiskircher <pat@icore.at>
+
+ * Before creating a channel key we need to remove the private key
+ mode, otherwise no key is created. Affected file
+ apps/silcd/command.c
+
Fri Aug 19 15:20:05 CEST 2005 Patrik Weiskircher <pat@icore.at>
* Before checking ip/hostname of SilcSocketConnection, check
new channel key. Clients are not using private channel keys
anymore after this. */
+ /* if we don't remove the flag from the mode
+ * silc_server_create_channel_key won't create a new key */
+ channel->mode &= ~SILC_CHANNEL_MODE_PRIVKEY;
+
/* Re-generate channel key */
if (!silc_server_create_channel_key(server, channel, 0))
goto out;