aboutsummaryrefslogtreecommitdiffstats
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
commitd7770bba849e88e4ece97c65ebaabadbb78c8755 (patch)
treea23cbf1455f0f79e0ef300ef6d579960a486a53e
parent7bce7c9fbe91d12069da3821f732114eabeb1814 (diff)
downloadprosody-d7770bba849e88e4ece97c65ebaabadbb78c8755.tar.gz
prosody-d7770bba849e88e4ece97c65ebaabadbb78c8755.zip
core.stanza_router: Remove tostring call from logging
Taken care of by loggingmanager now
-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;