diff options
author | mathieui <mathieui@mathieui.net> | 2014-12-19 22:11:21 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2014-12-19 22:11:21 +0100 |
commit | db60b72cf1bdfb4fb6fe1abd5fbe1a1bfd9240a7 (patch) | |
tree | 5acc298dae4e208c6879a65a6b6a9292240c0084 /src/core | |
parent | 98102b34bb9e23a6b0d2ffe87fc372e091516c87 (diff) | |
download | poezio-db60b72cf1bdfb4fb6fe1abd5fbe1a1bfd9240a7.tar.gz poezio-db60b72cf1bdfb4fb6fe1abd5fbe1a1bfd9240a7.tar.bz2 poezio-db60b72cf1bdfb4fb6fe1abd5fbe1a1bfd9240a7.tar.xz poezio-db60b72cf1bdfb4fb6fe1abd5fbe1a1bfd9240a7.zip |
Fix /destroy_room (7/78)
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/commands.py b/src/core/commands.py index 84fea78c..15ff96e2 100644 --- a/src/core/commands.py +++ b/src/core/commands.py @@ -887,7 +887,7 @@ def command_destroy_room(self, args): room = safeJID(args[0]).bare if room: muc.destroy_room(self.xmpp, room) - elif isinstance(self.current_tab(), tabs.MucTab) and not arg: + elif isinstance(self.current_tab(), tabs.MucTab) and not args[0]: muc.destroy_room(self.xmpp, self.current_tab().general_jid) else: self.information(_('Invalid JID: "%s"') % args[0], _('Error')) |