changeset 441:bfc8bc7d77f3

mod_register_redirect: removed invalid character from code (why you do these things dear term...?)
author Marco Cirillo <maranda@lightwitch.org>
date Thu, 22 Sep 2011 15:12:55 +0000
parents 9a71493368de
children 761b7e1bb7ab
files mod_register_redirect/mod_register_redirect.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_register_redirect/mod_register_redirect.lua	Thu Sep 22 15:03:51 2011 +0000
+++ b/mod_register_redirect/mod_register_redirect.lua	Thu Sep 22 15:12:55 2011 +0000
@@ -28,7 +28,7 @@
 				elseif url:match("^(%w+)[:].*$") == "mailto" then
 					inst_text = "Please send an e-mail at "..url:match("^%w+[:](.*)$").." to register an account on this server."
 				elseif url:match("^(%w+)[:].*$") == "xmpp" then
-					inst_text = "Please contact "..module:get_host().." server administrator via xmpp to register an account on this server at: "..url:match("^%wÃ+[:](.*)$")
+					inst_text = "Please contact "..module:get_host().." server administrator via xmpp to register an account on this server at: "..url:match("^%w+[:](.*)$")
 				else
 					module:log("error", "This module supports only http/https, mailto or xmpp as URL formats.")
 					module:log("error", "If you want to use personalized instructions without an Out-Of-Band method,")