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
commit91247839773b8514d2097e818271e4e84dfc4362 (patch)
treed36de07b470e6008e205da71aac33b98afe964f5 /core/portmanager.lua
parentb7466453ea62bb0c9724d1b807fca2bfa705ee58 (diff)
downloadprosody-91247839773b8514d2097e818271e4e84dfc4362.tar.gz
prosody-91247839773b8514d2097e818271e4e84dfc4362.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;