diff options
author | Kim Alvefur <zash@zash.se> | 2016-03-02 16:43:42 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-03-02 16:43:42 +0100 |
commit | 5951bb0a05ba1cef7bcdf527e510f1dc6463060c (patch) | |
tree | 2f8cee994c8855af7f65ce2240c3ee588551d8e6 /plugins | |
parent | b834e9bacb5075c40d443453ad3811601ecb5481 (diff) | |
download | prosody-5951bb0a05ba1cef7bcdf527e510f1dc6463060c.tar.gz prosody-5951bb0a05ba1cef7bcdf527e510f1dc6463060c.zip |
mod_welcome: Pass default text to config API as default value
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_welcome.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_welcome.lua b/plugins/mod_welcome.lua index cd5118a7..d74643de 100644 --- a/plugins/mod_welcome.lua +++ b/plugins/mod_welcome.lua @@ -7,7 +7,7 @@ -- local host = module:get_host(); -local welcome_text = module:get_option_string("welcome_message") or "Hello $username, welcome to the $host IM server!"; +local welcome_text = module:get_option_string("welcome_message", "Hello $username, welcome to the $host IM server!"); local st = require "util.stanza"; |