diff options
-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 bb6210dc..07b0cb1e 100644 --- a/src/core/commands.py +++ b/src/core/commands.py @@ -945,7 +945,7 @@ def command_adhoc(self, arg): if len(arg) > 1: return self.command_help('list') elif arg: - jid = safeJID(arg[0]).server + jid = safeJID(arg[0]) else: return self.information('Please provide a jid', 'Error') list_tab = tabs.AdhocCommandsListTab(jid) |