changeset 770:a85d86a7f24e

mod_admin_web: Add explicit dependencies on mod_admin_adhoc and mod_bosh
author Florian Zeitz <florob@babelmonkeys.de>
date Fri, 03 Aug 2012 15:12:41 +0200 (2012-08-03)
parents 7076f58b9f48
children 889e7a60a2e7
files mod_admin_web/admin_web/mod_admin_web.lua
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_admin_web/admin_web/mod_admin_web.lua	Fri Aug 03 14:56:59 2012 +0200
+++ b/mod_admin_web/admin_web/mod_admin_web.lua	Fri Aug 03 15:12:41 2012 +0200
@@ -131,8 +131,12 @@
 end
 
 function module.add_host(module)
+	-- Dependencies
+	module:depends("bosh");
+	module:depends("admin_adhoc");
+	module:depends("http");
+
 	-- Setup HTTP server
-	module:depends("http");
 	module:provides("http", {
 		name = "admin";
 		route = {