diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-03-22 14:04:42 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-03-22 14:04:42 +0000 |
commit | c918df533431f4d3d72cfb83d1c0b0fc5b2ae223 (patch) | |
tree | 0175f3922ba982100564bfab4a9dce77fc356786 /prosody | |
parent | 0cb055053f07c6f16e0980df910460ea9548f5ca (diff) | |
download | prosody-c918df533431f4d3d72cfb83d1c0b0fc5b2ae223.tar.gz prosody-c918df533431f4d3d72cfb83d1c0b0fc5b2ae223.zip |
prosody: Allow ports to be specified as just numbers
Diffstat (limited to 'prosody')
-rwxr-xr-x | prosody | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |