aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_proxy65.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-12-03 14:13:09 +0000
committerMatthew Wild <mwild1@gmail.com>2009-12-03 14:13:09 +0000
commit24cccd311d431c5500a3120b44571ef7b5869e23 (patch)
tree02271d05615a3a98bc96296206d8cb1bd18d335f /plugins/mod_proxy65.lua
parent6ef7cc4d5a81dc42285fd6d621c9135cf1c042f8 (diff)
downloadprosody-24cccd311d431c5500a3120b44571ef7b5869e23.tar.gz
prosody-24cccd311d431c5500a3120b44571ef7b5869e23.zip
mod_proxy65: Replace error() calls with module:log("error", ...)
Diffstat (limited to 'plugins/mod_proxy65.lua')
-rw-r--r--plugins/mod_proxy65.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_proxy65.lua b/plugins/mod_proxy65.lua
index b2f901af..a4e1798b 100644
--- a/plugins/mod_proxy65.lua
+++ b/plugins/mod_proxy65.lua
@@ -247,8 +247,8 @@ function handle_to_domain(origin, stanza)
end
if not connlisteners.register(module.host .. ':proxy65', connlistener) then
- error("mod_proxy65: Could not establish a connection listener. Check your configuration please.");
- error(" one possible cause for this would be that two proxy65 components share the same port.");
+ module:log("error", "mod_proxy65: Could not establish a connection listener. Check your configuration please.");
+ module:log("error", "Possibly two proxy65 components are configured to share the same port.");
end
connlisteners.start(module.host .. ':proxy65');