# HG changeset patch # User Matthew Wild # Date 1369750490 -3600 # Node ID 0ce227f6034cf302b2ba1611b3e81f3bbebddda2 # Parent 72fbfb0367e998a7e071f2ff844dc64816cf6926 plugins.adhoc: Add missing return in error case 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;