mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04: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:
parent
ed27007383
commit
5627e7a822
@ -451,6 +451,7 @@ static NICK_REC *nick_nfind(CHANNEL_REC *channel, const char *nick, int len)
|
||||
while (rec->next != NULL) {
|
||||
if (strcmp(rec->nick, tmpnick) == 0)
|
||||
break;
|
||||
rec = rec->next;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user