summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-bar-item.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/irc/irc-bar-item.c')
-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 3943b5d3e..b6ef62166 100644
--- a/src/plugins/irc/irc-bar-item.c
+++ b/src/plugins/irc/irc-bar-item.c
@@ -211,7 +211,7 @@ irc_bar_item_input_prompt (void *data, struct t_gui_bar_item *item,
buf = malloc (length);
if (buf)
{
- if (server->nick_modes)
+ if (server->nick_modes && server->nick_modes[0])
{
snprintf (buf, length, "%s%s%s(%s%s%s)",
IRC_COLOR_INPUT_NICK,