From 835643da913582f7dd3e9adae757b9beea71d11d Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Mon, 9 Oct 2006 11:09:17 +0000
Subject: [PATCH] do not ask confirmation window nor check if a row is selected
 when we close muc with /leave (or others) command. fixes #2528

---
 src/groupchat_control.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/groupchat_control.py b/src/groupchat_control.py
index 5ebff380b2..fdde6bc350 100644
--- a/src/groupchat_control.py
+++ b/src/groupchat_control.py
@@ -1105,7 +1105,7 @@ class GroupchatControl(ChatControlBase):
 			reason = 'offline'
 			if len(message_array):
 				reason = message_array.pop(0)
-			self.parent_win.remove_tab(self,reason)
+			self.parent_win.remove_tab(self, reason, force = True)
 			self.clear(self.msg_textview)
 			return True
 		elif command == 'ban':
-- 
GitLab