summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc-bar-item.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-bar-item.c b/src/plugins/irc/irc-bar-item.c
index af4e7e4ad..3943b5d3e 100644
--- a/src/plugins/irc/irc-bar-item.c
+++ b/src/plugins/irc/irc-bar-item.c
@@ -101,7 +101,7 @@ irc_bar_item_buffer_name (void *data, struct t_gui_bar_item *item,
channel->name,
IRC_COLOR_BAR_DELIM,
IRC_COLOR_STATUS_NAME,
- channel->modes,
+ (channel->modes) ? channel->modes : "",
IRC_COLOR_BAR_DELIM);
}
}