aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_welcome.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-03-03 16:06:16 +0100
committerKim Alvefur <zash@zash.se>2016-03-03 16:06:16 +0100
commitae606b2cdfedf41a2b6f8fd5e90fe5ddac3892e4 (patch)
tree6ff9f371d84546013bcbbb7ad355b0230c37b46b /plugins/mod_welcome.lua
parent0b702d28acf78831d94c75d4c239650ee1fe2c53 (diff)
parent3140ed3d626e976639ef5f38efb9790008834d9c (diff)
downloadprosody-ae606b2cdfedf41a2b6f8fd5e90fe5ddac3892e4.tar.gz
prosody-ae606b2cdfedf41a2b6f8fd5e90fe5ddac3892e4.zip
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_welcome.lua')
-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 9c0c821b..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("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";