diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-03-11 18:35:27 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-03-11 18:35:27 +0000 |
commit | 30314b5891a1eb96c6b5fc7d9235695c3077e54e (patch) | |
tree | da6c9fd98130ef9f3c3cf04d2086e69011448f7f | |
parent | 4c152e2f3beafe251107fd66d0476d66e3fcc65c (diff) | |
download | prosody-30314b5891a1eb96c6b5fc7d9235695c3077e54e.tar.gz prosody-30314b5891a1eb96c6b5fc7d9235695c3077e54e.zip |
portmanager: Add get_active_services()
-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 f655659d..103c5d44 100644 --- a/core/portmanager.lua +++ b/core/portmanager.lua @@ -132,4 +132,8 @@ function get_service(service_name) return services[service_name]; end +function get_active_services(...) + return active_services; +end + return _M; |