aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/s2s
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-04-28 02:56:10 +0100
committerMatthew Wild <mwild1@gmail.com>2012-04-28 02:56:10 +0100
commitf754aca9f2c4b168049b12ddda0b3334009f3740 (patch)
tree27fd22caac11079d4c89d2fd4e3ecc98b6d49f10 /plugins/s2s
parent465460b13f6b108ce2f0a3e09da5b7eeb73361c3 (diff)
downloadprosody-f754aca9f2c4b168049b12ddda0b3334009f3740.tar.gz
prosody-f754aca9f2c4b168049b12ddda0b3334009f3740.zip
mod_s2s: Add log() import
Diffstat (limited to 'plugins/s2s')
-rw-r--r--plugins/s2s/mod_s2s.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/s2s/mod_s2s.lua b/plugins/s2s/mod_s2s.lua
index b0bd5b40..478ed558 100644
--- a/plugins/s2s/mod_s2s.lua
+++ b/plugins/s2s/mod_s2s.lua
@@ -29,6 +29,8 @@ local connect_timeout = module:get_option_number("s2s_timeout", 60);
local sessions = module:shared("sessions");
+local log = module._log;
+
--- Handle stanzas to remote domains
local bouncy_stanzas = { message = true, presence = true, iq = true };