# HG changeset patch # User Kim Alvefur # Date 1456933379 -3600 # Node ID 9e380d145ad14cfdeb43ecee28b992c3616265b3 # Parent 07a4c807a94a9ce31c005815bdac9f3b2ee47b02 mod_welcome: Use type-specific config API diff -r 07a4c807a94a -r 9e380d145ad1 plugins/mod_welcome.lua --- a/plugins/mod_welcome.lua Wed Mar 02 16:32:37 2016 +0100 +++ b/plugins/mod_welcome.lua Wed Mar 02 16:42:59 2016 +0100 @@ -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";