diff options
author | mathieui <mathieui@mathieui.net> | 2015-06-06 16:49:39 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2015-06-06 16:49:39 +0200 |
commit | 3077ec2bc1bddcdcc36f03cca4244dbb0faff90a (patch) | |
tree | c3759d22a2cf785081e4cef32ac4f5f71ae9fee6 /src/core/commands.py | |
parent | 028e22b480acdfbf1de9950ca7062abe6b415f89 (diff) | |
download | poezio-3077ec2bc1bddcdcc36f03cca4244dbb0faff90a.tar.gz poezio-3077ec2bc1bddcdcc36f03cca4244dbb0faff90a.tar.bz2 poezio-3077ec2bc1bddcdcc36f03cca4244dbb0faff90a.tar.xz poezio-3077ec2bc1bddcdcc36f03cca4244dbb0faff90a.zip |
Fix /list when no server is provided
(thanks eijebong)
Diffstat (limited to 'src/core/commands.py')
-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 974c706f..2f5147c0 100644 --- a/src/core/commands.py +++ b/src/core/commands.py @@ -266,7 +266,7 @@ def command_list(self, args): if args is None: return self.command_help('list') elif args: - server = safeJID(args[0]) + server = safeJID(args[0]).server else: if not isinstance(self.current_tab(), tabs.MucTab): return self.information('Please provide a server', 'Error') |