From 4a74325e61005cf3155fe792d74d0d4ffbe67e42 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Mon, 13 Dec 2010 21:41:53 +0100 Subject: Use case insensitive comparison for string in redirected messages --- src/plugins/irc/irc-redirect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3