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
commit9aedce9a31ac0be3e5a4772f18fa9647d711b8a2 (patch)
tree0ab610673723298c58d52992759117f173b815f1 /core
parent1832103b7484adf503ec196cb304483c77d4c307 (diff)
downloadprosody-9aedce9a31ac0be3e5a4772f18fa9647d711b8a2.tar.gz
prosody-9aedce9a31ac0be3e5a4772f18fa9647d711b8a2.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