summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-02-23 12:08:53 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-02-23 12:08:53 +0000
commit5627e7a822c04d1d764506b3ed9498b4557d8b81 (patch)
tree5c4b04d264e745acee8e5d7af18aca594c965b70 /src
parented270073836abd7953206e18e69757ec349e49a9 (diff)
downloadirssi-5627e7a822c04d1d764506b3ed9498b4557d8b81.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/core/nicklist.c1
1 files changed, 1 insertions, 0 deletions
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;
}
}