From 5627e7a822c04d1d764506b3ed9498b4557d8b81 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Fri, 23 Feb 2001 12:08:53 +0000 Subject: [PATCH] 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 --- src/core/nicklist.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/nicklist.c b/src/core/nicklist.c index ac6028e3..d1463d9b 100644 --- a/src/core/nicklist.c +++ b/src/core/nicklist.c @@ -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; } }