diff options
author | Kim Alvefur <zash@zash.se> | 2016-03-02 16:42:59 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-03-02 16:42:59 +0100 |
commit | b834e9bacb5075c40d443453ad3811601ecb5481 (patch) | |
tree | 2f6fd39f8e0261fb77dc45cebe7622303cfdb982 /plugins/mod_welcome.lua | |
parent | f5b5f7639813c293c65a73e3f70847d32c76d451 (diff) | |
download | prosody-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.lua | 2 |
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"; |