Software /
code /
prosody
Comparison
core/portmanager.lua @ 4598:d2bcb959d713
portmanager: Add get_active_services()
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 11 Mar 2012 18:35:27 +0000 |
parent | 4597:25d89c7d6aee |
child | 4607:7f45b2cb3c03 |
comparison
equal
deleted
inserted
replaced
4597:25d89c7d6aee | 4598:d2bcb959d713 |
---|---|
130 | 130 |
131 function get_service(service_name) | 131 function get_service(service_name) |
132 return services[service_name]; | 132 return services[service_name]; |
133 end | 133 end |
134 | 134 |
135 function get_active_services(...) | |
136 return active_services; | |
137 end | |
138 | |
135 return _M; | 139 return _M; |