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 | e7eecd81b727f653c5e3f7ecf3da956dc94cf5eb (patch) | |
tree | da6c9fd98130ef9f3c3cf04d2086e69011448f7f | |
parent | 91247839773b8514d2097e818271e4e84dfc4362 (diff) | |
download | prosody-e7eecd81b727f653c5e3f7ecf3da956dc94cf5eb.tar.gz prosody-e7eecd81b727f653c5e3f7ecf3da956dc94cf5eb.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; |