diff prosody @ 5023:dcc8e789df36

mod_admin_telnet, prosody, prosodyctl, ejabberd2prosody: Don't depend on modules setting globals
author Florian Zeitz <florob@babelmonkeys.de>
date Sat, 09 Jun 2012 02:27:44 +0200
parents 776a57ca0d84
children 43c5227fdd3b
line wrap: on
line diff
--- a/prosody	Sat Jun 09 01:18:21 2012 +0200
+++ b/prosody	Sat Jun 09 02:27:44 2012 +0200
@@ -128,7 +128,7 @@
 end
 
 function sanity_check()
-	for host, host_config in pairs(configmanager.getconfig()) do
+	for host, host_config in pairs(config.getconfig()) do
 		if host ~= "*"
 		and host_config.core.enabled ~= false
 		and not host_config.core.component_module then