Fix #2692 (ad-hoc mistakes show /help list)

This commit is contained in:
mathieui 2014-10-03 22:46:21 +02:00
parent 2400b2c5d9
commit dc4f9cc35a
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -943,7 +943,7 @@ def command_xml_tab(self, arg=''):
def command_adhoc(self, arg): def command_adhoc(self, arg):
arg = arg.split() arg = arg.split()
if len(arg) > 1: if len(arg) > 1:
return self.command_help('list') return self.command_help('ad-hoc')
elif arg: elif arg:
jid = safeJID(arg[0]).server jid = safeJID(arg[0]).server
else: else: