From 069d9f3f0266baa5ec5461b5fa2065e3254789d3 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 6 Jan 2001 23:49:19 +0000 Subject: [PATCH] nick_match_msg() : check was case sensitive git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1082 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/nicklist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/nicklist.c b/src/core/nicklist.c index 16453330..c08d1110 100644 --- a/src/core/nicklist.c +++ b/src/core/nicklist.c @@ -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)) {