core.s2smanager: Remove use of tostring in logging

This is now performed by loggingmanager
This commit is contained in:
Kim Alvefur 2019-07-29 23:15:30 +02:00
parent ab82920e54
commit cc653ef0d9

View file

@ -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);