mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
buggy fix, fixed :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1377 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
118aa7e88e
commit
93397f3fe0
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user