aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-03-15 03:02:51 +0000
committerMatthew Wild <mwild1@gmail.com>2012-03-15 03:02:51 +0000
commit9f7aa91f8f8bfa6c16a5d1e161fce292c190e103 (patch)
tree2b15ff1a0edd1f096a52bf1c07fceb8cc2cc5277 /core
parent477f505f4861870fff596c3751d249ecd1132164 (diff)
downloadprosody-9f7aa91f8f8bfa6c16a5d1e161fce292c190e103.tar.gz
prosody-9f7aa91f8f8bfa6c16a5d1e161fce292c190e103.zip
portmanager: Add get_registered_services() to the public API
Diffstat (limited to 'core')
-rw-r--r--core/portmanager.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/portmanager.lua b/core/portmanager.lua
index b4ceaef9..914a8e2f 100644
--- a/core/portmanager.lua
+++ b/core/portmanager.lua
@@ -171,4 +171,8 @@ function get_active_services(...)
return active_services;
end
+function get_registered_services()
+ return services;
+end
+
return _M;