diff options
Diffstat (limited to 'plugins/mod_motd.lua')
-rw-r--r-- | plugins/mod_motd.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_motd.lua b/plugins/mod_motd.lua index 7c532a6b..d567288b 100644 --- a/plugins/mod_motd.lua +++ b/plugins/mod_motd.lua @@ -8,8 +8,8 @@ -- local host = module:get_host(); -local motd_text = module:get_option("motd_text"); -local motd_jid = module:get_option("motd_jid") or host; +local motd_text = module:get_option_string("motd_text"); +local motd_jid = module:get_option_string("motd_jid", host); if not motd_text then return; end |