Tidy up leaving room

This commit is contained in:
James Booth
2012-11-10 01:17:16 +00:00
parent 7512d70ff5
commit 81f9292948
4 changed files with 22 additions and 6 deletions

View File

@@ -1093,7 +1093,6 @@ _cmd_close(const char * const inp, struct cmd_help_t help)
if (win_in_groupchat()) {
char *room_jid = win_get_recipient();
jabber_leave_chat_room(room_jid);
win_close_win();
} else if (win_in_chat()) {
if (prefs_get_states()) {