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
commit1322d44e8dd886c16d3edf548af37c2e3d054480 (patch)
tree6ff9f371d84546013bcbbb7ad355b0230c37b46b /plugins/mod_welcome.lua
parenta6931a80e52b4bd32bf91d8d6163e82006972b83 (diff)
parent411cb70495af9f70588fa21cf6ca607e3bae9981 (diff)
downloadprosody-1322d44e8dd886c16d3edf548af37c2e3d054480.tar.gz
prosody-1322d44e8dd886c16d3edf548af37c2e3d054480.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";