mirror of
https://github.com/irssi/irssi.git
synced 2026-08-21 01:22:26 +02: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue