diff plugins/mod_proxy65.lua @ 10563:e8db377a2983

Merge 0.11->trunk
author Kim Alvefur <zash@zash.se>
date Tue, 24 Dec 2019 00:39:45 +0100
parents 0f335815244f
children c079103c9172
line wrap: on
line diff
--- a/plugins/mod_proxy65.lua	Tue Dec 24 00:26:40 2019 +0100
+++ b/plugins/mod_proxy65.lua	Tue Dec 24 00:39:45 2019 +0100
@@ -117,7 +117,7 @@
 				if jid_compare(jid, acl) then allow = true; break; end
 			end
 			if allow then break; end
-			module:log("warn", "Denying use of proxy for %s", tostring(stanza.attr.from));
+			module:log("warn", "Denying use of proxy for %s", stanza.attr.from);
 			origin.send(st.error_reply(stanza, "auth", "forbidden"));
 			return true;
 		end