summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/xep_0050/adhoc.py
diff options
context:
space:
mode:
Diffstat (limited to 'slixmpp/plugins/xep_0050/adhoc.py')
-rw-r--r--slixmpp/plugins/xep_0050/adhoc.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/slixmpp/plugins/xep_0050/adhoc.py b/slixmpp/plugins/xep_0050/adhoc.py
index e6ef8333..2ecbfea6 100644
--- a/slixmpp/plugins/xep_0050/adhoc.py
+++ b/slixmpp/plugins/xep_0050/adhoc.py
@@ -216,6 +216,7 @@ class XEP_0050(BasePlugin):
name, handler = self.commands.get(key, ('Not found', None))
if not handler:
log.debug('Command not found: %s, %s', key, self.commands)
+ raise XMPPError('item-not-found')
payload = []
for stanza in iq['command']['substanzas']: