From c0bf62ba44b3dd189768f459be93c7747fe1c118 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 14 Nov 2001 22:43:48 +0000 Subject: Redirect parameters should be matched case-insensitively git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2007 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/core/servers-redirect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/irc/core/servers-redirect.c b/src/irc/core/servers-redirect.c index 31191400..a00651d6 100644 --- a/src/irc/core/servers-redirect.c +++ b/src/irc/core/servers-redirect.c @@ -278,7 +278,7 @@ static int redirect_args_match(const char *event_args, start = event_args; while (*arg != '\0') { while (*arg != '\0' && *arg != ' ' && *event_args != '\0') { - if (*arg != *event_args) + if (toupper(*arg) != toupper(*event_args)) break; arg++; event_args++; } -- cgit v1.2.3