diff options
Diffstat (limited to 'src/plugins/irc')
-rw-r--r-- | src/plugins/irc/irc-protocol.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c index 2741509a6..118b9e6ab 100644 --- a/src/plugins/irc/irc-protocol.c +++ b/src/plugins/irc/irc-protocol.c @@ -1817,7 +1817,8 @@ IRC_PROTOCOL_CALLBACK(topic) } else { - if (weechat_config_boolean (irc_config_look_display_old_topic)) + if (weechat_config_boolean (irc_config_look_display_old_topic) + && ptr_channel && ptr_channel->topic && ptr_channel->topic[0]) { old_topic_color = irc_color_decode (ptr_channel->topic, weechat_config_boolean (irc_config_network_colors_receive)); |