+Thu Mar 28 12:17:21 CET 2002 Pekka Riikonen <priikone@silcnet.org>
+
+ * Fixed the TOPIC_SET notify to not cras. It changed the topic
+ too early, before getting the channel entry. Affected file
+ is silcd/packet_receive.c.
+
Thu Mar 28 09:58:16 CET 2002 Johnny Mnemonic <johnny@themnemonic.org>
* Added functions silc_server_config_[ref/unref], these are used
goto out;
}
- if (channel->topic && !strcmp(channel->topic, tmp))
- goto out;
-
if (!channel_id) {
channel_id = silc_id_str2id(packet->dst_id, packet->dst_id_len,
packet->dst_id_type);
}
}
+ if (channel->topic && !strcmp(channel->topic, tmp))
+ goto out;
+
/* Get user's channel entry and check that topic set is allowed. */
if (!silc_server_client_on_channel(client, channel, &chl))
goto out;