core.stanza_router: Remove tostring call from logging
authorKim Alvefur <zash@zash.se>
Tue, 30 Jul 2019 02:18:59 +0200
changeset 10108 3965081809ba
parent 10107 18cab054364a
child 10109 63f87211fcdd
core.stanza_router: Remove tostring call from logging Taken care of by loggingmanager now
core/stanza_router.lua
--- a/core/stanza_router.lua	Tue Jul 30 02:14:50 2019 +0200
+++ b/core/stanza_router.lua	Tue Jul 30 02:18:59 2019 +0200
@@ -199,7 +199,7 @@
 	else
 		local host_session = hosts[from_host];
 		if not host_session then
-			log("error", "No hosts[from_host] (please report): %s", tostring(stanza));
+			log("error", "No hosts[from_host] (please report): %s", stanza);
 		else
 			local xmlns = stanza.attr.xmlns;
 			stanza.attr.xmlns = nil;