aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-03-02 16:43:42 +0100
committerKim Alvefur <zash@zash.se>2016-03-02 16:43:42 +0100
commit89d089700746356babbe0af4251a95d9bf23b65e (patch)
tree2f8cee994c8855af7f65ce2240c3ee588551d8e6
parentb33fe456f80754c0bc6fb6c8ef6a72b7b107f55f (diff)
downloadprosody-89d089700746356babbe0af4251a95d9bf23b65e.tar.gz
prosody-89d089700746356babbe0af4251a95d9bf23b65e.zip
mod_welcome: Pass default text to config API as default value
-rw-r--r--plugins/mod_welcome.lua2
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";