aboutsummaryrefslogtreecommitdiffstats
path: root/core/portmanager.lua
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
commit0d6cb88a1eb002675334b16b5a3c627282cb2c61 (patch)
tree2b15ff1a0edd1f096a52bf1c07fceb8cc2cc5277 /core/portmanager.lua
parentf0b8af1484581188305a3d0abac0f8b6c15bfb53 (diff)
downloadprosody-0d6cb88a1eb002675334b16b5a3c627282cb2c61.tar.gz
prosody-0d6cb88a1eb002675334b16b5a3c627282cb2c61.zip
portmanager: Add get_registered_services() to the public API
Diffstat (limited to 'core/portmanager.lua')
-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;