comparison mod_host_guard/mod_host_guard.lua @ 681:03ef667c96c3

mod_host_guard: removed s2smanager import.
author Marco Cirillo <maranda@lightwitch.org>
date Sat, 26 May 2012 22:48:03 +0000
parents a2cea070f2c7
children 3ab1cf30a848
comparison
equal deleted inserted replaced
680:a2cea070f2c7 681:03ef667c96c3
6 local guard_blockall = module:get_option_set("host_guard_blockall", {}) 6 local guard_blockall = module:get_option_set("host_guard_blockall", {})
7 local guard_ball_wl = module:get_option_set("host_guard_blockall_exceptions", {}) 7 local guard_ball_wl = module:get_option_set("host_guard_blockall_exceptions", {})
8 local guard_protect = module:get_option_set("host_guard_selective", {}) 8 local guard_protect = module:get_option_set("host_guard_selective", {})
9 local guard_block_bl = module:get_option_set("host_guard_blacklist", {}) 9 local guard_block_bl = module:get_option_set("host_guard_blacklist", {})
10 10
11 local s2smanager = require "core.s2smanager"
12 local config = require "core.configmanager" 11 local config = require "core.configmanager"
13 local nameprep = require "util.encodings".stringprep.nameprep 12 local nameprep = require "util.encodings".stringprep.nameprep
14 13
15 local function s2s_hook (event) 14 local function s2s_hook (event)
16 local origin, stanza = event.session or event.origin, event.stanza or false 15 local origin, stanza = event.session or event.origin, event.stanza or false