mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Redirect parameters should be matched case-insensitively
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2007 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
f3f624d6ec
commit
c0bf62ba44
@ -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++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user