mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 09:02:13 +02: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
1 changed files with 1 additions and 1 deletions
|
|
@ -278,7 +278,7 @@ static int redirect_args_match(const char *event_args,
|
||||||
start = event_args;
|
start = event_args;
|
||||||
while (*arg != '\0') {
|
while (*arg != '\0') {
|
||||||
while (*arg != '\0' && *arg != ' ' && *event_args != '\0') {
|
while (*arg != '\0' && *arg != ' ' && *event_args != '\0') {
|
||||||
if (*arg != *event_args)
|
if (toupper(*arg) != toupper(*event_args))
|
||||||
break;
|
break;
|
||||||
arg++; event_args++;
|
arg++; event_args++;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue