From ae954b93afa0596f9237d58c039233c378476e33 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Tue, 27 Sep 2011 19:07:41 +0100 Subject: mod_motd: Update to use module:get_option_string --- plugins/mod_motd.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') 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 -- cgit v1.2.3