# HG changeset patch # User Matthew Wild # Date 1317146861 -3600 # Node ID 5e84fb3c4ba0d824556b1ece9b1d242093139054 # Parent 886eebf10802810f3d885843724f1add7aa2d6d0 mod_motd: Update to use module:get_option_string diff -r 886eebf10802 -r 5e84fb3c4ba0 plugins/mod_motd.lua --- a/plugins/mod_motd.lua Tue Sep 27 19:05:14 2011 +0100 +++ b/plugins/mod_motd.lua Tue Sep 27 19:07:41 2011 +0100 @@ -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