Diff

plugins/mod_blocklist.lua @ 8043:e7561d56008d

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Sat, 01 Apr 2017 22:38:02 +0200 (2017-04-01)
parent 8040:62c540d51d50
child 8275:13dad833e821
line wrap: on
line diff
--- a/plugins/mod_blocklist.lua	Sat Apr 01 21:48:54 2017 +0200
+++ b/plugins/mod_blocklist.lua	Sat Apr 01 22:38:02 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 "");