1
0
mirror of https://github.com/irssi/irssi.git synced 2024-07-07 02:54:19 -04: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:
Timo Sirainen 2001-01-06 23:49:19 +00:00 committed by cras
parent 341cd55587
commit 069d9f3f02

View File

@ -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)) {