Mercurial > prosody-modules
comparison mod_muc_log_http/muc_log_http/mod_muc_log_http.lua @ 1250:d7bbacdabb8f
mod_muc_log_http: Change config option back to what it says in the docs (Thanks Alex for noticing)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 15 Dec 2013 00:50:46 +0100 |
parents | a53f9989a859 |
children | 280adf09ae12 |
comparison
equal
deleted
inserted
replaced
1249:182cb8a8d2d8 | 1250:d7bbacdabb8f |
---|---|
685 end | 685 end |
686 return true; | 686 return true; |
687 end | 687 end |
688 | 688 |
689 function module.load() | 689 function module.load() |
690 config = module:get_option("muc_log_http_config", {}); | 690 config = module:get_option("muc_log_http", {}); |
691 if module:get_option_boolean("muc_log_presences", true) then config.show_presences = true end | 691 if module:get_option_boolean("muc_log_presences", true) then config.show_presences = true end |
692 if config.show_status == nil then config.show_status = true; end | 692 if config.show_status == nil then config.show_status = true; end |
693 if config.show_join == nil then config.show_join = true; end | 693 if config.show_join == nil then config.show_join = true; end |
694 if config.url_base and type(config.url_base) == "string" then url_base = config.url_base; end | 694 if config.url_base and type(config.url_base) == "string" then url_base = config.url_base; end |
695 | 695 |