aboutsummaryrefslogtreecommitdiffstats
path: root/core/stanza_router.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-07-30 02:18:59 +0200
committerKim Alvefur <zash@zash.se>2019-07-30 02:18:59 +0200
commit151dccede107452e57fea55fc34a9a17012589a6 (patch)
treea23cbf1455f0f79e0ef300ef6d579960a486a53e /core/stanza_router.lua
parenta0c37efd1f7ef8b4e55ff8849076c2db2d442450 (diff)
downloadprosody-151dccede107452e57fea55fc34a9a17012589a6.tar.gz
prosody-151dccede107452e57fea55fc34a9a17012589a6.zip
core.stanza_router: Remove tostring call from logging
Taken care of by loggingmanager now
Diffstat (limited to 'core/stanza_router.lua')
-rw-r--r--core/stanza_router.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/stanza_router.lua b/core/stanza_router.lua
index f5a34f59..d3caeb5d 100644
--- a/core/stanza_router.lua
+++ b/core/stanza_router.lua
@@ -199,7 +199,7 @@ function core_route_stanza(origin, stanza)
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;