summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-nick.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-03-12 19:26:26 +0100
committerSebastien Helleu <flashcode@flashtux.org>2012-03-12 19:26:26 +0100
commit1c1ef05451cf3e2abd960faa45b53e0cc2d32c5c (patch)
treeb66c016491c3b50593d1ddf69fecf8f745daa7f0 /src/plugins/irc/irc-nick.h
parent73476cc0f861f8dc160afc4021c38032d2a2c567 (diff)
downloadweechat-1c1ef05451cf3e2abd960faa45b53e0cc2d32c5c.zip
irc: use computed nick color in many messages instead of option weechat.color.chat_nick
Diffstat (limited to 'src/plugins/irc/irc-nick.h')
-rw-r--r--src/plugins/irc/irc-nick.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-nick.h b/src/plugins/irc/irc-nick.h
index 132f5182d..6efc948aa 100644
--- a/src/plugins/irc/irc-nick.h
+++ b/src/plugins/irc/irc-nick.h
@@ -89,7 +89,11 @@ extern char *irc_nick_as_prefix (struct t_irc_server *server,
struct t_irc_nick *nick,
const char *nickname,
const char *force_color);
-extern const char *irc_nick_color_for_server_message (struct t_irc_nick *nick,
+extern const char *irc_nick_color_for_message (struct t_irc_server *server,
+ struct t_irc_nick *nick,
+ const char *nickname);
+extern const char *irc_nick_color_for_server_message (struct t_irc_server *server,
+ struct t_irc_nick *nick,
const char *nickname);
extern const char * irc_nick_color_for_pv (struct t_irc_channel *channel,
const char *nickname);