summaryrefslogtreecommitdiff
path: root/src/plugins/irc
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/irc')
-rw-r--r--src/plugins/irc/irc-nick.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-nick.c b/src/plugins/irc/irc-nick.c
index 8eebd33ba..49e39d006 100644
--- a/src/plugins/irc/irc-nick.c
+++ b/src/plugins/irc/irc-nick.c
@@ -51,7 +51,7 @@ irc_nick_find_color (struct t_irc_nick *nick)
weechat_config_integer (weechat_config_get ("weechat.look.color_nicks_number")));
snprintf (color_name, sizeof (color_name),
- "chat_nick_color%d", color);
+ "chat_nick_color%02d", color + 1);
return weechat_color (color_name);
}