1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

removing second last unique nick didn't work properly

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1359 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-03-07 23:55:33 +00:00 committed by cras
parent 21ce8803d6
commit 00abe69923

View File

@ -63,7 +63,7 @@ static void nick_hash_remove(CHANNEL_REC *channel, NICK_REC *nick)
if (list->next == NULL)
g_hash_table_remove(channel->nicks, nick->nick);
else if (list == nick) {
g_hash_table_insert(channel->nicks, nick->nick,
g_hash_table_insert(channel->nicks, nick->next->nick,
nick->next);
} else {
while (list->next != nick)