diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-03-11 12:40:32 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-03-11 12:40:32 +0000 |
commit | 91247839773b8514d2097e818271e4e84dfc4362 (patch) | |
tree | d36de07b470e6008e205da71aac33b98afe964f5 /core | |
parent | b7466453ea62bb0c9724d1b807fca2bfa705ee58 (diff) | |
download | prosody-91247839773b8514d2097e818271e4e84dfc4362.tar.gz prosody-91247839773b8514d2097e818271e4e84dfc4362.zip |
portmanager: Add get_service()
Diffstat (limited to 'core')
-rw-r--r-- | core/portmanager.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/portmanager.lua b/core/portmanager.lua index 3d6dada4..f655659d 100644 --- a/core/portmanager.lua +++ b/core/portmanager.lua @@ -128,5 +128,8 @@ function register_service(service_name, service_info) return true; end +function get_service(service_name) + return services[service_name]; +end return _M; |