degesch: fix a typo

This commit is contained in:
Přemysl Eric Janouch 2020-10-04 08:44:16 +02:00
parent eea761d9f7
commit f716e7601f
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -7065,7 +7065,7 @@ irc_handle_topic (struct server *s, const struct irc_message *msg)
struct buffer *buffer = str_map_find (&s->irc_buffer_map, channel_name); struct buffer *buffer = str_map_find (&s->irc_buffer_map, channel_name);
hard_assert (channel || !buffer); hard_assert (channel || !buffer);
// It would be is weird for this to be false // It would be weird for this to be false
if (channel) if (channel)
cstr_set (&channel->topic, xstrdup (topic)); cstr_set (&channel->topic, xstrdup (topic));