From c918df533431f4d3d72cfb83d1c0b0fc5b2ae223 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sun, 22 Mar 2009 14:04:42 +0000 Subject: prosody: Allow ports to be specified as just numbers --- prosody | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prosody b/prosody index b1740f27..45ee5983 100755 --- a/prosody +++ b/prosody @@ -123,7 +123,7 @@ end -- start listening on sockets local function do_ports(option, listener, default, conntype) local ports = config.get("*", "core", option) or default; - --if type(ports) == "number" then ports = {ports} end; + if type(ports) == "number" then ports = {ports} end; if type(ports) ~= "table" then log("error", "core."..option.." is not a table"); -- cgit v1.2.3