diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-10-19 23:31:49 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-10-19 23:38:28 +0200 |
commit | a88b8f7ed21ab796a7b041a138bc0f4fe2bba06a (patch) | |
tree | 860bb39cb3349f3ba2acaf97be6a07a9b21af330 /src/plugins/irc/irc-nick.h | |
parent | 1896c50c116919db882c40b778aa887035f5c11b (diff) | |
download | weechat-a88b8f7ed21ab796a7b041a138bc0f4fe2bba06a.zip |
irc: revert compute of nick colors to case sensitive way, deprecate again IRC nick color infos (issue #194, issue #2032)
Diffstat (limited to 'src/plugins/irc/irc-nick.h')
-rw-r--r-- | src/plugins/irc/irc-nick.h | 9 |
1 files changed, 3 insertions, 6 deletions
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, |