Monster whitespace commit (beware the whitespace monster).
[prosody.git] / plugins / mod_welcome.lua
index 8f92010a013d7279bac927f178f4651ce0901820..8f9cca2ab2ce4a4315413e5203ca0a7b19ea1378 100644 (file)
@@ -11,9 +11,9 @@ local welcome_text = module:get_option("welcome_message") or "Hello $username, w
 
 local st = require "util.stanza";
 
-module:hook("user-registered", 
+module:hook("user-registered",
        function (user)
-               local welcome_stanza = 
+               local welcome_stanza =
                        st.message({ to = user.username.."@"..user.host, from = host })
                                :tag("body"):text(welcome_text:gsub("$(%w+)", user));
                core_route_stanza(hosts[host], welcome_stanza);