aboutsummaryrefslogtreecommitdiffstats
path: root/core
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
commit30314b5891a1eb96c6b5fc7d9235695c3077e54e (patch)
treeda6c9fd98130ef9f3c3cf04d2086e69011448f7f /core
parent4c152e2f3beafe251107fd66d0476d66e3fcc65c (diff)
downloadprosody-30314b5891a1eb96c6b5fc7d9235695c3077e54e.tar.gz
prosody-30314b5891a1eb96c6b5fc7d9235695c3077e54e.zip
portmanager: Add get_active_services()
Diffstat (limited to 'core')
-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;