diff options
Diffstat (limited to 'src/plugins/irc')
-rw-r--r-- | src/plugins/irc/irc-bar-item.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-bar-item.c b/src/plugins/irc/irc-bar-item.c index 5025f2a44..33220a20f 100644 --- a/src/plugins/irc/irc-bar-item.c +++ b/src/plugins/irc/irc-bar-item.c @@ -424,7 +424,8 @@ irc_bar_item_input_prompt (void *data, struct t_gui_bar_item *item, /* build prefix */ str_prefix[0] = '\0'; if (weechat_config_boolean (irc_config_look_item_nick_prefix) - && channel) + && channel + && (channel->type == IRC_CHANNEL_TYPE_CHANNEL)) { ptr_nick = irc_nick_search (channel, server->nick); if (ptr_nick) |