mod_register_redirect: Fix typo in variable name (again...)
authorMatthew Wild <mwild1@gmail.com>
Sun, 05 Aug 2012 17:51:58 +0100
changeset 781 ab40d1650688
parent 780 055b9ea7bd68
child 782 2d83708ea901
mod_register_redirect: Fix typo in variable name (again...)
mod_register_redirect/mod_register_redirect.lua
--- a/mod_register_redirect/mod_register_redirect.lua	Sun Aug 05 13:55:29 2012 +0100
+++ b/mod_register_redirect/mod_register_redirect.lua	Sun Aug 05 17:51:58 2012 +0100
@@ -58,7 +58,7 @@
 				end
 			end
 		end
-	elseif instt_text and oob then
+	elseif inst_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.