aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-05-11 23:20:58 +0100
committerMatthew Wild <mwild1@gmail.com>2012-05-11 23:20:58 +0100
commitbf452927fde8e75cf9da4af74b5529e752330fc8 (patch)
tree0ab610673723298c58d52992759117f173b815f1 /core
parent92df51a04627ce1d6eb9d61b257d6c5af047d93e (diff)
downloadprosody-bf452927fde8e75cf9da4af74b5529e752330fc8.tar.gz
prosody-bf452927fde8e75cf9da4af74b5529e752330fc8.zip
portmanager: Fix missing variable declaration
Diffstat (limited to 'core')
-rw-r--r--core/portmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/portmanager.lua b/core/portmanager.lua
index 00f09c6b..a6e8b38f 100644
--- a/core/portmanager.lua
+++ b/core/portmanager.lua
@@ -102,7 +102,7 @@ function activate(service_name)
or listener.default_port -- COMPAT w/pre-0.9
});
- local mode = listener.default_mode or "*a";
+ local mode, ssl = listener.default_mode or "*a";
for interface in bind_interfaces do
for port in bind_ports do