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 | e31a74b0ee1a5401a340da8bbaefc639cfdf2928 (patch) | |
tree | 0827c4d0d553c7510614a46475b71077fe51e3c3 /plugins | |
parent | 4bb6deaaa3e0e0f8978dbb77564cf85f5f88991d (diff) | |
download | prosody-e31a74b0ee1a5401a340da8bbaefc639cfdf2928.tar.gz prosody-e31a74b0ee1a5401a340da8bbaefc639cfdf2928.zip |
mod_motd: Update to use module:get_option_string
Diffstat (limited to 'plugins')
-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 |