diff options
author | Matthew Wild <mwild1@gmail.com> | 2011-09-27 19:07:41 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2011-09-27 19:07:41 +0100 |
commit | ae954b93afa0596f9237d58c039233c378476e33 (patch) | |
tree | 0827c4d0d553c7510614a46475b71077fe51e3c3 /plugins/mod_motd.lua | |
parent | af932c423957c59d82affca3c2141f0d7eb36590 (diff) | |
download | prosody-ae954b93afa0596f9237d58c039233c378476e33.tar.gz prosody-ae954b93afa0596f9237d58c039233c378476e33.zip |
mod_motd: Update to use module:get_option_string
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 |