Software /
code /
prosody
Changeset
9490:6e4fbd12c11c
mod_c2s: Fix fallback for missing session logger
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 12 Oct 2018 02:16:24 +0200 |
parents | 9489:09b873ac7eb8 |
children | 9491:89e4cbd1a564 |
files | plugins/mod_c2s.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_c2s.lua Fri Oct 12 00:52:18 2018 +0200 +++ b/plugins/mod_c2s.lua Fri Oct 12 02:16:24 2018 +0200 @@ -71,7 +71,7 @@ end session.version = tonumber(attr.version) or 0; session.streamid = uuid_generate(); - (session.log or session)("debug", "Client sent opening <stream:stream> to %s", session.host); + (session.log or log)("debug", "Client sent opening <stream:stream> to %s", session.host); if not hosts[session.host] or not hosts[session.host].modules.c2s then -- We don't serve this host...