Diff

core/portmanager.lua @ 4597:25d89c7d6aee

portmanager: Add get_service()
author Matthew Wild <mwild1@gmail.com>
date Sun, 11 Mar 2012 12:40:32 +0000
parent 4583:6f2789939d35
child 4598:d2bcb959d713
line wrap: on
line diff
--- 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;