summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-08-01 15:12:58 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-08-01 15:12:58 +0200
commitba93f3f236e68b14d84c9bc621c638c4f79207f9 (patch)
tree9c8fda89531b2d2b7e80d31c46a85ec843e0586e /src/core
parent992fe72554de694750519f3f12886023314a8278 (diff)
downloadpoezio-ba93f3f236e68b14d84c9bc621c638c4f79207f9.tar.gz
poezio-ba93f3f236e68b14d84c9bc621c638c4f79207f9.tar.bz2
poezio-ba93f3f236e68b14d84c9bc621c638c4f79207f9.tar.xz
poezio-ba93f3f236e68b14d84c9bc621c638c4f79207f9.zip
Ad-hoc requests can be sent on any JID, not just servers
Diffstat (limited to 'src/core')
-rw-r--r--src/core/commands.py2
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)