summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2017-07-20 23:54:28 +0200
committermathieui <mathieui@mathieui.net>2017-07-20 23:54:28 +0200
commit90f43e2bb56ea994a43610112a141bd084f834a4 (patch)
treef5322cef479696ceaa9a83045fc64f2af5f4396f
parent360b1350b63bbde821586a4f01417f95803f9e3d (diff)
downloadpoezio-90f43e2bb56ea994a43610112a141bd084f834a4.tar.gz
poezio-90f43e2bb56ea994a43610112a141bd084f834a4.tar.bz2
poezio-90f43e2bb56ea994a43610112a141bd084f834a4.tar.xz
poezio-90f43e2bb56ea994a43610112a141bd084f834a4.zip
Simplify /cycle as well
-rw-r--r--poezio/tabs/muctab.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/poezio/tabs/muctab.py b/poezio/tabs/muctab.py
index d52d908a..4f6b5b28 100644
--- a/poezio/tabs/muctab.py
+++ b/poezio/tabs/muctab.py
@@ -408,10 +408,7 @@ class MucTab(ChatTab):
@command_args_parser.raw
def command_cycle(self, msg):
"""/cycle [reason]"""
- self.command_part(msg)
- self.disconnect()
- self.user_win.pos = 0
- self.core.disable_private_tabs(self.name)
+ self.leave_room(msg)
self.join()
def join(self):