diff options
-rw-r--r-- | degesch.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -4787,6 +4787,12 @@ irc_handle_rpl_topic (struct server *s, const struct irc_message *msg) hard_assert ((channel && buffer) || (channel && !buffer) || (!channel && !buffer)); + if (channel) + { + free (channel->topic); + channel->topic = xstrdup (topic); + } + if (buffer) { // FIXME: logging |