mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05: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
@ -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 */
|
/* check if it matches for alphanumeric parts of nick */
|
||||||
while (*nick != '\0' && *msg != '\0') {
|
while (*nick != '\0' && *msg != '\0') {
|
||||||
if (*nick == *msg) {
|
if (toupper(*nick) == toupper(*msg)) {
|
||||||
/* total match */
|
/* total match */
|
||||||
msg++;
|
msg++;
|
||||||
} else if (isalnum(*msg) && !isalnum(*nick)) {
|
} else if (isalnum(*msg) && !isalnum(*nick)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user