Changeset

683:939f8fc84d49

mod_host_guard: removed unused variable.
author Marco Cirillo <maranda@lightwitch.org>
date Sun, 27 May 2012 01:37:25 +0000
parents 682:3ab1cf30a848
children 684:27529031890b
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	Sun May 27 01:34:53 2012 +0000
+++ b/mod_host_guard/mod_host_guard.lua	Sun May 27 01:37:25 2012 +0000
@@ -29,7 +29,7 @@
 end
 
 local function rr_hook (event)
-	local from_host, to_host, stanza = event.from_host, event.to_host, event.stanza
+	local from_host, to_host = event.from_host, event.to_host
 
 	if guard_blockall:contains(from_host) and not guard_ball_wl:contains(to_host) or
 	   guard_block_bl:contains(to_host) and guard_protect:contains(from_host) then