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 | 9f7aa91f8f8bfa6c16a5d1e161fce292c190e103 (patch) | |
tree | 2b15ff1a0edd1f096a52bf1c07fceb8cc2cc5277 | |
parent | 477f505f4861870fff596c3751d249ecd1132164 (diff) | |
download | prosody-9f7aa91f8f8bfa6c16a5d1e161fce292c190e103.tar.gz prosody-9f7aa91f8f8bfa6c16a5d1e161fce292c190e103.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; |