changeset 780:055b9ea7bd68

mod_register_redirect: Fix usage of incorrect variable name (thanks iron)
author Matthew Wild <mwild1@gmail.com>
date Sun, 05 Aug 2012 13:55:29 +0100
parents 36044b77b6c2
children ab40d1650688
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	Sun Aug 05 09:07:48 2012 +0700
+++ b/mod_register_redirect/mod_register_redirect.lua	Sun Aug 05 13:55:29 2012 +0100
@@ -58,7 +58,7 @@
 				end
 			end
 		end
-	elseif text and oob then
+	elseif instt_text and oob then
 		if not url:match("^%w+[:].*$") then
 			module:log("error", "Please check your configuration, the URL specified is not valid.")
 			origin.send(st.error_reply(stanza, "wait", "internal-server-error")) -- bouncing request.