mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
nick_match_msg() : check was case sensitive
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1082 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
341cd55587
commit
069d9f3f02
1 changed files with 1 additions and 1 deletions
|
|
@ -300,7 +300,7 @@ int nick_match_msg(CHANNEL_REC *channel, const char *msg, const char *nick)
|
|||
|
||||
/* check if it matches for alphanumeric parts of nick */
|
||||
while (*nick != '\0' && *msg != '\0') {
|
||||
if (*nick == *msg) {
|
||||
if (toupper(*nick) == toupper(*msg)) {
|
||||
/* total match */
|
||||
msg++;
|
||||
} else if (isalnum(*msg) && !isalnum(*nick)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue