summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)