plugins/mod_blocklist.lua
changeset 8043 62c540d51d50
parent 7971 f0e35f4db9e0
child 8278 13dad833e821
--- a/plugins/mod_blocklist.lua	Sat Apr 01 19:47:02 2017 +0200
+++ b/plugins/mod_blocklist.lua	Sat Apr 01 22:18:44 2017 +0200
@@ -229,7 +229,7 @@
 -- Buggy clients
 module:hook("iq-error/self/blocklist-push", function (event)
 	local origin, stanza = event.origin, event.stanza;
-	local _, condition, text = event.stanza:get_error();
+	local _, condition, text = stanza:get_error();
 	local log = (origin.log or module._log);
 	log("warn", "Client returned an error in response to notification from mod_%s: %s%s%s",
 		module.name, condition, text and ": " or "", text or "");