mod_s2soutinjection: Use session logger where it makes sense
It makes sense here.
--- a/mod_s2soutinjection/mod_s2soutinjection.lua Fri Dec 02 22:05:13 2022 +0100
+++ b/mod_s2soutinjection/mod_s2soutinjection.lua Fri Dec 02 22:06:40 2022 +0100
@@ -75,7 +75,7 @@
-- Store in buffer
host_session.bounce_sendq = bounce_sendq;
host_session.sendq = { {tostring(stanza), stanza.attr.type ~= "error" and stanza.attr.type ~= "result" and st.reply(stanza)} };
- module:log("debug", "stanza [%s] queued until connection complete", tostring(stanza.name));
+ host_session.log("debug", "stanza [%s] queued until connection complete", tostring(stanza.name));
local host, port = inject[1] or inject, tonumber(inject[2]) or 5269;