plugins/mod_welcome.lua
changeset 7230 c6f9d694d778
parent 7229 9e380d145ad1
child 8164 31938a0c398f
--- a/plugins/mod_welcome.lua	Wed Mar 02 16:42:59 2016 +0100
+++ b/plugins/mod_welcome.lua	Wed Mar 02 16:43:42 2016 +0100
@@ -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";