Changeset

724:b94010de43f6

mod_host_guard: referenced configmanager from prosody's _G instead of requiring it.
author Marco Cirillo <maranda@lightwitch.org>
date Mon, 25 Jun 2012 22:32:54 +0000
parents 723:c26652d055b5
children 725:f79fda2d7e51
files mod_host_guard/mod_host_guard.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_host_guard/mod_host_guard.lua	Mon Jun 25 22:20:27 2012 +0000
+++ b/mod_host_guard/mod_host_guard.lua	Mon Jun 25 22:32:54 2012 +0000
@@ -8,7 +8,7 @@
 local guard_protect = module:get_option_set("host_guard_selective", {})
 local guard_block_bl = module:get_option_set("host_guard_blacklist", {})
 
-local config = require "core.configmanager"
+local config = configmanager
 local error_reply = require "util.stanza".error_reply
 
 local function s2s_hook (event)