plugins/mod_proxy65.lua
changeset 10115 0f335815244f
parent 9649 cc642c9c5ad5
child 11015 c079103c9172
--- a/plugins/mod_proxy65.lua	Tue Jul 30 02:24:06 2019 +0200
+++ b/plugins/mod_proxy65.lua	Tue Jul 30 02:29:36 2019 +0200
@@ -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