mod_register_redirect/mod_register_redirect.lua
changeset 780 055b9ea7bd68
parent 722 5c7175be532b
child 781 ab40d1650688
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