Verified Commit 9acca77e authored by mathieui's avatar mathieui
Browse files

Fix /info (9/78)

parent 26025511
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment