aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-10-12 02:16:24 +0200
committerKim Alvefur <zash@zash.se>2018-10-12 02:16:24 +0200
commit0f11cd3a5460efd17c75a80d60dd5bb90f4c4914 (patch)
treea76fdc5effa66957d7b4daed2f3220ff37dbdb3d /plugins
parente2321c4d37d4bc08536072799f525910ea4395bf (diff)
downloadprosody-0f11cd3a5460efd17c75a80d60dd5bb90f4c4914.tar.gz
prosody-0f11cd3a5460efd17c75a80d60dd5bb90f4c4914.zip
mod_c2s: Fix fallback for missing session logger
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_c2s.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_c2s.lua b/plugins/mod_c2s.lua
index 3816a262..8e31a968 100644
--- a/plugins/mod_c2s.lua
+++ b/plugins/mod_c2s.lua
@@ -71,7 +71,7 @@ function stream_callbacks.streamopened(session, attr)
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...