aboutsummaryrefslogtreecommitdiffstats
path: root/core/portmanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-03-11 18:35:27 +0000
committerMatthew Wild <mwild1@gmail.com>2012-03-11 18:35:27 +0000
commite7eecd81b727f653c5e3f7ecf3da956dc94cf5eb (patch)
treeda6c9fd98130ef9f3c3cf04d2086e69011448f7f /core/portmanager.lua
parent91247839773b8514d2097e818271e4e84dfc4362 (diff)
downloadprosody-e7eecd81b727f653c5e3f7ecf3da956dc94cf5eb.tar.gz
prosody-e7eecd81b727f653c5e3f7ecf3da956dc94cf5eb.zip
portmanager: Add get_active_services()
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 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;