diff options
author | mathieui <mathieui@mathieui.net> | 2014-12-19 22:28:36 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2014-12-19 22:28:36 +0100 |
commit | 9acca77e1239a18d9cc48e3fc421d60c82df3313 (patch) | |
tree | fd092a4bbef0b547597bb1a3f9fbe9109f70abe7 /src | |
parent | 26025511cf820b5929990cc9be806fa9a08f7d00 (diff) | |
download | poezio-9acca77e1239a18d9cc48e3fc421d60c82df3313.tar.gz poezio-9acca77e1239a18d9cc48e3fc421d60c82df3313.tar.bz2 poezio-9acca77e1239a18d9cc48e3fc421d60c82df3313.tar.xz poezio-9acca77e1239a18d9cc48e3fc421d60c82df3313.zip |
Fix /info (9/78)
Diffstat (limited to 'src')
-rw-r--r-- | src/tabs/privatetab.py | 4 |
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) |