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
commit2e3217d5d66a1fb87258c731b4d0691849db97bc (patch)
tree27fd22caac11079d4c89d2fd4e3ecc98b6d49f10 /plugins/s2s
parentce25b6cbe15e1f10339956c9c3cc6a091f5ec585 (diff)
downloadprosody-2e3217d5d66a1fb87258c731b4d0691849db97bc.tar.gz
prosody-2e3217d5d66a1fb87258c731b4d0691849db97bc.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 };