# HG changeset patch # User Matthew Wild # Date 1344171329 -3600 # Node ID 055b9ea7bd68b31005cdaa3bf365cb3cfdf47b2a # Parent 36044b77b6c2fd64dd29eef7b46ab860a33a6f24 mod_register_redirect: Fix usage of incorrect variable name (thanks iron) diff -r 36044b77b6c2 -r 055b9ea7bd68 mod_register_redirect/mod_register_redirect.lua --- 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.