aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_welcome.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-03-02 16:42:59 +0100
committerKim Alvefur <zash@zash.se>2016-03-02 16:42:59 +0100
commitb834e9bacb5075c40d443453ad3811601ecb5481 (patch)
tree2f6fd39f8e0261fb77dc45cebe7622303cfdb982 /plugins/mod_welcome.lua
parentf5b5f7639813c293c65a73e3f70847d32c76d451 (diff)
downloadprosody-b834e9bacb5075c40d443453ad3811601ecb5481.tar.gz
prosody-b834e9bacb5075c40d443453ad3811601ecb5481.zip
mod_welcome: Use type-specific config API
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..cd5118a7 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") or "Hello $username, welcome to the $host IM server!";
local st = require "util.stanza";