summaryrefslogtreecommitdiff
path: root/src/plugins/irc
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-12-13 21:41:53 +0100
committerSebastien Helleu <flashcode@flashtux.org>2010-12-13 21:41:53 +0100
commit4a74325e61005cf3155fe792d74d0d4ffbe67e42 (patch)
treecde43ce14edc8ffae3ee4077400033bc997897e1 /src/plugins/irc
parent25d9d6e0fec88c9ee0377d08132fd394b4577bad (diff)
downloadweechat-4a74325e61005cf3155fe792d74d0d4ffbe67e42.zip
Use case insensitive comparison for string in redirected messages
Diffstat (limited to 'src/plugins/irc')
-rw-r--r--src/plugins/irc/irc-redirect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-redirect.c b/src/plugins/irc/irc-redirect.c
index 41441e5c0..e095544ce 100644
--- a/src/plugins/irc/irc-redirect.c
+++ b/src/plugins/irc/irc-redirect.c
@@ -631,7 +631,7 @@ irc_redirect_message_match_hash (struct t_irc_redirect *redirect,
if (!arguments_argv || (*value >= arguments_argc))
return 0;
- if (strcmp (arguments_argv[*value], redirect->string) != 0)
+ if (weechat_strcasecmp (arguments_argv[*value], redirect->string) != 0)
return 0;
}