# HG changeset patch # User Matthew Wild # Date 1331469632 0 # Node ID 25d89c7d6aee079ad3e9610aa839d32291b76c84 # Parent 87a5b7f39100a0b8006d4d68492830c22e253efb portmanager: Add get_service() diff -r 87a5b7f39100 -r 25d89c7d6aee core/portmanager.lua --- a/core/portmanager.lua Fri Mar 09 18:39:09 2012 +0000 +++ b/core/portmanager.lua Sun Mar 11 12:40:32 2012 +0000 @@ -128,5 +128,8 @@ return true; end +function get_service(service_name) + return services[service_name]; +end return _M;