Changeset

1468:cf32265eb4c7

mod_onions: Actually define the variable "stanza" to contain "event.stanza", fixing problems of stanzas being dropped for outgoing connections.
author Thijs Alkemade <me@thijsalkema.de>
date Fri, 04 Jul 2014 14:47:14 +0200
parents 1467:f10a3a5ba28f
children 1469:019746bba318
files mod_onions/mod_onions.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_onions/mod_onions.lua	Fri Jul 04 14:16:21 2014 +0200
+++ b/mod_onions/mod_onions.lua	Fri Jul 04 14:47:14 2014 +0200
@@ -225,6 +225,7 @@
 
 -- Try to intercept anything to *.onion
 local function route_to_onion(event)
+	local stanza = event.stanza;
 
 	if not event.to_host:find(".onion(.?)$") then
 		if forbid_else then