diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-03-15 03:02:51 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-03-15 03:02:51 +0000 |
commit | 0d6cb88a1eb002675334b16b5a3c627282cb2c61 (patch) | |
tree | 2b15ff1a0edd1f096a52bf1c07fceb8cc2cc5277 | |
parent | f0b8af1484581188305a3d0abac0f8b6c15bfb53 (diff) | |
download | prosody-0d6cb88a1eb002675334b16b5a3c627282cb2c61.tar.gz prosody-0d6cb88a1eb002675334b16b5a3c627282cb2c61.zip |
portmanager: Add get_registered_services() to the public API
-rw-r--r-- | core/portmanager.lua | 4 |
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; |