Changeset

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
parents 10103:18cab054364a
children 10105:63f87211fcdd
files core/stanza_router.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;