From a88b8f7ed21ab796a7b041a138bc0f4fe2bba06a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Thu, 19 Oct 2023 23:31:49 +0200 Subject: irc: revert compute of nick colors to case sensitive way, deprecate again IRC nick color infos (issue #194, issue #2032) --- src/plugins/irc/irc-nick.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/plugins/irc/irc-nick.h') diff --git a/src/plugins/irc/irc-nick.h b/src/plugins/irc/irc-nick.h index 8d7ec911b..17c128165 100644 --- a/src/plugins/irc/irc-nick.h +++ b/src/plugins/irc/irc-nick.h @@ -49,10 +49,8 @@ struct t_irc_nick extern int irc_nick_valid (struct t_irc_channel *channel, struct t_irc_nick *nick); extern int irc_nick_is_nick (struct t_irc_server *server, const char *string); -extern char *irc_nick_find_color (struct t_irc_server *server, - const char *nickname); -extern char *irc_nick_find_color_name (struct t_irc_server *server, - const char *nickname); +extern char *irc_nick_find_color (const char *nickname); +extern char *irc_nick_find_color_name (const char *nickname); extern void irc_nick_set_host (struct t_irc_nick *nick, const char *host); extern int irc_nick_is_op_or_higher (struct t_irc_server *server, struct t_irc_nick *nick); @@ -103,8 +101,7 @@ extern const char *irc_nick_color_for_msg (struct t_irc_server *server, int server_message, struct t_irc_nick *nick, const char *nickname); -extern const char * irc_nick_color_for_pv (struct t_irc_server *server, - struct t_irc_channel *channel, +extern const char * irc_nick_color_for_pv (struct t_irc_channel *channel, const char *nickname); extern char *irc_nick_default_ban_mask (struct t_irc_nick *nick); extern struct t_hdata *irc_nick_hdata_nick_cb (const void *pointer, -- cgit v1.2.3