diff options
author | Timo Sirainen <cras@irssi.org> | 2001-03-07 23:55:33 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-03-07 23:55:33 +0000 |
commit | 00abe69923f124555f50e129249acb7d4265fea7 (patch) | |
tree | 81038653b08c929c724eab5a855ea866a93e7a09 /src/core/nicklist.c | |
parent | 21ce8803d6f124b9889e5d2aa9458f538f17eb7f (diff) | |
download | irssi-00abe69923f124555f50e129249acb7d4265fea7.zip |
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
Diffstat (limited to 'src/core/nicklist.c')
-rw-r--r-- | src/core/nicklist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/nicklist.c b/src/core/nicklist.c index 387394aa..9689a132 100644 --- a/src/core/nicklist.c +++ b/src/core/nicklist.c @@ -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) |