summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-mode.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-mode.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-mode.c')
-rw-r--r--src/plugins/irc/irc-mode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-mode.c b/src/plugins/irc/irc-mode.c
index 86fd13290..5dab62551 100644
--- a/src/plugins/irc/irc-mode.c
+++ b/src/plugins/irc/irc-mode.c
@@ -142,7 +142,8 @@ irc_mode_channel_set (struct t_irc_server *server,
argv[current_arg] : NULL;
if (ptr_arg)
{
- ptr_nick = irc_nick_search (channel, ptr_arg);
+ ptr_nick = irc_nick_search (server, channel,
+ ptr_arg);
if (ptr_nick)
{
irc_nick_set_mode (server, channel, ptr_nick,