projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
prosody: Fixed a possible nil concatenation.
[prosody.git]
/
prosody
diff --git
a/prosody
b/prosody
index 6ff7743dff7411f3a8ef498ed38b278a25a365be..0577179f291c37caab5d75bcda7f76b14dc6985f 100755
(executable)
--- a/
prosody
+++ b/
prosody
@@
-208,8
+208,8
@@
function init_global_state()
cl.start(listener, {
ssl = conntype ~= "tcp" and global_ssl_ctx,
port = port,
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
});
or config.get("*", "core", "interface"),
type = conntype
});