mod_register_redirect: fixed clunky if block (thanks Zash, mva).
--- a/mod_register_redirect/mod_register_redirect.lua Mon Aug 06 17:08:12 2012 +0700
+++ b/mod_register_redirect/mod_register_redirect.lua Mon Aug 06 14:42:48 2012 +0000
@@ -58,7 +58,7 @@
end
end
end
- elseif inst_text and oob then
+ elseif inst_text and url 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.