Diff

core/stanza_router.lua @ 10104:3965081809ba

core.stanza_router: Remove tostring call from logging Taken care of by loggingmanager now
author Kim Alvefur <zash@zash.se>
date Tue, 30 Jul 2019 02:18:59 +0200
parent 9527:ced174f29d9a
child 10245:88efdfb0a126
line wrap: on
line diff
--- 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;