comparison mod_register_redirect/mod_register_redirect.lua @ 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 5c7175be532b
children ab40d1650688
comparison
equal deleted inserted replaced
779:36044b77b6c2 780:055b9ea7bd68
56 origin.send(st.error_reply(stanza, "wait", "internal-server-error")) -- bouncing request. 56 origin.send(st.error_reply(stanza, "wait", "internal-server-error")) -- bouncing request.
57 return true 57 return true
58 end 58 end
59 end 59 end
60 end 60 end
61 elseif text and oob then 61 elseif instt_text and oob then
62 if not url:match("^%w+[:].*$") then 62 if not url:match("^%w+[:].*$") then
63 module:log("error", "Please check your configuration, the URL specified is not valid.") 63 module:log("error", "Please check your configuration, the URL specified is not valid.")
64 origin.send(st.error_reply(stanza, "wait", "internal-server-error")) -- bouncing request. 64 origin.send(st.error_reply(stanza, "wait", "internal-server-error")) -- bouncing request.
65 end 65 end
66 end 66 end