From 93397f3fe04f6278bbfc98b1de1ca483b23d15f5 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 10 Mar 2001 23:33:56 +0000 Subject: [PATCH] buggy fix, fixed :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1377 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/nicklist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/nicklist.c b/src/core/nicklist.c index c2ad44d8..f9539ff3 100644 --- a/src/core/nicklist.c +++ b/src/core/nicklist.c @@ -62,7 +62,7 @@ static void nick_hash_remove(CHANNEL_REC *channel, NICK_REC *nick) if (list == nick || list->next == NULL) { g_hash_table_remove(channel->nicks, nick->nick); - if (list == nick) { + if (list->next != NULL) { g_hash_table_insert(channel->nicks, nick->next->nick, nick->next); }