summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-config.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-11-12 10:56:52 +0100
committerSebastien Helleu <flashcode@flashtux.org>2011-11-12 10:56:52 +0100
commite3b7c8fdb775b76b7c042a74813f32876601c617 (patch)
tree573e14cedda82f1ab1ccb9593b6f448b07db00d5 /src/plugins/irc/irc-config.c
parent491412b314f6a9db9de5d24daee7196bf5dfbdf5 (diff)
downloadweechat-e3b7c8fdb775b76b7c042a74813f32876601c617.zip
irc: add case insensitive string comparison based on casemapping of server (rfc1459, strict-rfc1459, ascii) (bug #34239)
Diffstat (limited to 'src/plugins/irc/irc-config.c')
-rw-r--r--src/plugins/irc/irc-config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-config.c b/src/plugins/irc/irc-config.c
index d711ff34d..4f2ba8007 100644
--- a/src/plugins/irc/irc-config.c
+++ b/src/plugins/irc/irc-config.c
@@ -187,7 +187,8 @@ irc_config_compute_nick_colors ()
for (ptr_nick = ptr_channel->nicks; ptr_nick;
ptr_nick = ptr_nick->next_nick)
{
- if (weechat_strcasecmp (ptr_nick->name, ptr_server->nick) != 0)
+ if (irc_server_strcasecmp (ptr_server, ptr_nick->name,
+ ptr_server->nick) != 0)
{
if (ptr_nick->color)
free (ptr_nick->color);