mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_welcome: Pass default text to config API as default value
This commit is contained in:
parent
b33fe456f8
commit
89d0897007
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
--
|
||||
|
||||
local host = module:get_host();
|
||||
local welcome_text = module:get_option_string("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";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue