aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-12-04 20:11:41 +0000
committerMatthew Wild <mwild1@gmail.com>2012-12-04 20:11:41 +0000
commit25f5253ac069dccbc28d4495fc493b5667f3607b (patch)
tree5d3ad214d2ea5801a335c49abb280e7291aa7f07 /core
parenta89701cbd8943fe768a38ecd06e6ea954ec7d7ca (diff)
parent193b00e1ff970c1c5566aae8f74dea0c9fd3ed2f (diff)
downloadprosody-25f5253ac069dccbc28d4495fc493b5667f3607b.tar.gz
prosody-25f5253ac069dccbc28d4495fc493b5667f3607b.zip
Merge
Diffstat (limited to 'core')
-rw-r--r--core/portmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/portmanager.lua b/core/portmanager.lua
index 8938be65..7427a8eb 100644
--- a/core/portmanager.lua
+++ b/core/portmanager.lua
@@ -190,7 +190,7 @@ function get_service_at(interface, port)
end
function get_service(service_name)
- return services[service_name];
+ return (services[service_name] or {})[1];
end
function get_active_services(...)