aboutsummaryrefslogtreecommitdiffstats
path: root/core/portmanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-03-11 12:40:32 +0000
committerMatthew Wild <mwild1@gmail.com>2012-03-11 12:40:32 +0000
commit4c152e2f3beafe251107fd66d0476d66e3fcc65c (patch)
treed36de07b470e6008e205da71aac33b98afe964f5 /core/portmanager.lua
parentd1d691c559b8a95f6b0b16a586ca1387330af467 (diff)
downloadprosody-4c152e2f3beafe251107fd66d0476d66e3fcc65c.tar.gz
prosody-4c152e2f3beafe251107fd66d0476d66e3fcc65c.zip
portmanager: Add get_service()
Diffstat (limited to 'core/portmanager.lua')
-rw-r--r--core/portmanager.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/portmanager.lua b/core/portmanager.lua
index 3d6dada4..f655659d 100644
--- a/core/portmanager.lua
+++ b/core/portmanager.lua
@@ -128,5 +128,8 @@ function register_service(service_name, service_info)
return true;
end
+function get_service(service_name)
+ return services[service_name];
+end
return _M;