Changeset

722:5c7175be532b

mod_register_redirect: referenced configmanager from prosody's global space instead of requiring it (==).
author Marco Cirillo <maranda@lightwitch.org>
date Mon, 25 Jun 2012 22:17:40 +0000
parents 721:9080b0898b6f
children 723:c26652d055b5
files mod_register_redirect/mod_register_redirect.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_register_redirect/mod_register_redirect.lua	Mon Jun 25 21:36:40 2012 +0000
+++ b/mod_register_redirect/mod_register_redirect.lua	Mon Jun 25 22:17:40 2012 +0000
@@ -6,7 +6,7 @@
 -- Redirects IP addresses not in the whitelist to a web page or another method to complete the registration.
 
 local st = require "util.stanza"
-local cman = require "core.configmanager"
+local cman = configmanager
 
 function reg_redirect(event)
 	local stanza, origin = event.stanza, event.origin