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
commit5951bb0a05ba1cef7bcdf527e510f1dc6463060c (patch)
tree2f8cee994c8855af7f65ce2240c3ee588551d8e6
parentb834e9bacb5075c40d443453ad3811601ecb5481 (diff)
downloadprosody-5951bb0a05ba1cef7bcdf527e510f1dc6463060c.tar.gz
prosody-5951bb0a05ba1cef7bcdf527e510f1dc6463060c.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";