s2smanager: Whitespace
[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,
-                                               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
                                        });