diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-12-16 00:11:54 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-12-16 00:11:54 +0500 |
commit | 3992d26de2a78bc803a3edad65fc57ae825737d3 (patch) | |
tree | acd72346c5d21918cf09ac17b0750eaed5ddd4e2 /prosody | |
parent | 1ea522dd46db470dc59b3bdb09ffc72a32ef1d73 (diff) | |
download | prosody-3992d26de2a78bc803a3edad65fc57ae825737d3.tar.gz prosody-3992d26de2a78bc803a3edad65fc57ae825737d3.zip |
prosody: Fixed a possible nil concatenation.
Diffstat (limited to 'prosody')
-rwxr-xr-x | prosody | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -198,8 +198,8 @@ function init_global_state() cl.start(listener, { ssl = conntype ~= "tcp" and global_ssl_ctx, port = port, - interface = config.get("*", "core", option.."_interface") - or cl.get(listener).default_interface + interface = (option and config.get("*", "core", option.."_interface")) + or cl.get(listener).default_interface or config.get("*", "core", "interface"), type = conntype }); |