summaryrefslogtreecommitdiff
path: root/src/tabs
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-12-19 22:28:36 +0100
committermathieui <mathieui@mathieui.net>2014-12-19 22:28:36 +0100
commit9acca77e1239a18d9cc48e3fc421d60c82df3313 (patch)
treefd092a4bbef0b547597bb1a3f9fbe9109f70abe7 /src/tabs
parent26025511cf820b5929990cc9be806fa9a08f7d00 (diff)
downloadpoezio-9acca77e1239a18d9cc48e3fc421d60c82df3313.tar.gz
poezio-9acca77e1239a18d9cc48e3fc421d60c82df3313.tar.bz2
poezio-9acca77e1239a18d9cc48e3fc421d60c82df3313.tar.xz
poezio-9acca77e1239a18d9cc48e3fc421d60c82df3313.zip
Fix /info (9/78)
Diffstat (limited to 'src/tabs')
-rw-r--r--src/tabs/privatetab.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tabs/privatetab.py b/src/tabs/privatetab.py
index aa19d4d4..d6eb0527 100644
--- a/src/tabs/privatetab.py
+++ b/src/tabs/privatetab.py
@@ -215,8 +215,8 @@ class PrivateTab(OneToOneTab):
"""
/info
"""
- if args:
- self.parent_muc.command_info(args[0])
+ if arg and arg[0]:
+ self.parent_muc.command_info(arg[0])
else:
user = safeJID(self.name).resource
self.parent_muc.command_info(user)