diff plugins/mod_proxy65.lua @ 10411:db2a06b9ff98

Merge 0.11->trunk
author Kim Alvefur <zash@zash.se>
date Sat, 16 Nov 2019 16:52:31 +0100
parents 0f335815244f
children c079103c9172
line wrap: on
line diff
--- a/plugins/mod_proxy65.lua	Sat Nov 16 16:45:33 2019 +0100
+++ b/plugins/mod_proxy65.lua	Sat Nov 16 16:52:31 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