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
commitb33fe456f80754c0bc6fb6c8ef6a72b7b107f55f (patch)
tree2f6fd39f8e0261fb77dc45cebe7622303cfdb982 /plugins/mod_welcome.lua
parent70a7adc1c1340992b85b63c248fe913c199782e3 (diff)
downloadprosody-b33fe456f80754c0bc6fb6c8ef6a72b7b107f55f.tar.gz
prosody-b33fe456f80754c0bc6fb6c8ef6a72b7b107f55f.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";