summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-nick.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/irc/irc-nick.c')
-rw-r--r--src/plugins/irc/irc-nick.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/irc/irc-nick.c b/src/plugins/irc/irc-nick.c
index 182a3fbd8..bd14631cf 100644
--- a/src/plugins/irc/irc-nick.c
+++ b/src/plugins/irc/irc-nick.c
@@ -959,12 +959,13 @@ irc_nick_mode_for_display (struct t_irc_server *server, struct t_irc_nick *nick,
{
str_prefix[0] = '\0';
}
- str_prefix_color = weechat_color (irc_nick_get_prefix_color_name (server,
- nick->prefix[0]));
+ str_prefix_color = weechat_color (
+ irc_nick_get_prefix_color_name (server, nick->prefix[0]));
}
else
{
- str_prefix[0] = (prefix && weechat_config_boolean (irc_config_look_nick_mode_empty)) ?
+ str_prefix[0] = (prefix
+ && weechat_config_boolean (irc_config_look_nick_mode_empty)) ?
' ' : '\0';
str_prefix_color = IRC_COLOR_RESET;
}