aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-07-29 23:15:30 +0200
committerKim Alvefur <zash@zash.se>2019-07-29 23:15:30 +0200
commitad89e20a7c9647b8db78c3c7e3cec625dcd16f4c (patch)
tree054eac1f8fe3f4624417f8baaf40cbb97dc862cd /core
parent41efd38807871a198da442721cef6f1b953ebf51 (diff)
downloadprosody-ad89e20a7c9647b8db78c3c7e3cec625dcd16f4c.tar.gz
prosody-ad89e20a7c9647b8db78c3c7e3cec625dcd16f4c.zip
core.s2smanager: Remove use of tostring in logging
This is now performed by loggingmanager
Diffstat (limited to 'core')
-rw-r--r--core/s2smanager.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index 684bb94e..48bf0544 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -75,8 +75,8 @@ local function retire_session(session, reason)
session.destruction_reason = reason;
- function session.send(data) log("debug", "Discarding data sent to resting session: %s", tostring(data)); end
- function session.data(data) log("debug", "Discarding data received from resting session: %s", tostring(data)); end
+ function session.send(data) log("debug", "Discarding data sent to resting session: %s", data); end
+ function session.data(data) log("debug", "Discarding data received from resting session: %s", data); end
session.thread = { run = function (_, data) return session.data(data) end };
session.sends2s = session.send;
return setmetatable(session, resting_session);