diff -r 72fbfb0367e9 -r 0ce227f6034c plugins/adhoc.lua --- a/plugins/adhoc.lua Sat May 11 18:42:13 2013 +0200 +++ b/plugins/adhoc.lua Tue May 28 15:14:50 2013 +0100 @@ -80,6 +80,7 @@ if result.type == "error" then self.status = "canceled"; self.callback(self, {}); + return; end local command = result:get_child("command", xmlns_commands); self.status = command.attr.status;