Moved function to remove from roster on nick change

This commit is contained in:
James Booth
2012-11-18 22:07:26 +00:00
parent 154c98ed65
commit c6b07533c9
2 changed files with 3 additions and 1 deletions

View File

@@ -240,6 +240,7 @@ room_add_pending_nick_change(const char * const room,
if (chat_room != NULL) {
g_hash_table_insert(chat_room->nick_changes, strdup(new_nick), strdup(old_nick));
room_remove_from_roster(room, old_nick);
}
}