1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

nick_nfind(): gets stuck to endless loop if there's multiple identical

nicks in channel.. Luckily this is no problem with IRC.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1299 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-02-23 12:08:53 +00:00 committed by cras
parent ed27007383
commit 5627e7a822

View File

@ -451,6 +451,7 @@ static NICK_REC *nick_nfind(CHANNEL_REC *channel, const char *nick, int len)
while (rec->next != NULL) { while (rec->next != NULL) {
if (strcmp(rec->nick, tmpnick) == 0) if (strcmp(rec->nick, tmpnick) == 0)
break; break;
rec = rec->next;
} }
} }