Mercurial > prosody-modules
diff mod_register_redirect/mod_register_redirect.lua @ 1343:7dbde05b48a9
all the things: Remove trailing whitespace
author | Florian Zeitz <florob@babelmonkeys.de> |
---|---|
date | Tue, 11 Mar 2014 18:44:01 +0100 |
parents | aa93cf0b1242 |
children | 7983335e88e9 |
line wrap: on
line diff
--- a/mod_register_redirect/mod_register_redirect.lua Mon Mar 10 08:22:58 2014 +0000 +++ b/mod_register_redirect/mod_register_redirect.lua Tue Mar 11 18:44:01 2014 +0100 @@ -2,7 +2,7 @@ -- (C) 2011 Kim Alvefur -- -- Registration Redirect module for Prosody --- +-- -- Redirects IP addresses not in the whitelist to a web page or another method to complete the registration. local st = require "util.stanza" @@ -77,7 +77,7 @@ reply:query("jabber:iq:register") :tag("instructions"):text(inst_text):up() end - + if stanza.attr.type == "get" then return origin.send(reply) else