comparison mod_muc_log_http/muc_log_http/mod_muc_log_http.lua @ 1021:043189eb41bc

mod_muc_log_http: Don't use nonexistent API
author Kim Alvefur <zash@zash.se>
date Sun, 26 May 2013 21:50:49 +0200
parents 290c21a5e0ee
children b69e5d63a4fe
comparison
equal deleted inserted replaced
1020:9839198539c8 1021:043189eb41bc
682 end 682 end
683 return true; 683 return true;
684 end 684 end
685 685
686 function module.load() 686 function module.load()
687 config = module:get_option_table("muc_log_http_config", {}); 687 config = module:get_option("muc_log_http_config", {});
688 if config.showStatus == nil then config.showStatus = true; end 688 if config.showStatus == nil then config.showStatus = true; end
689 if config.showJoin == nil then config.showJoin = true; end 689 if config.showJoin == nil then config.showJoin = true; end
690 if config.urlBase and type(config.urlBase) == "string" then urlBase = config.urlBase; end 690 if config.urlBase and type(config.urlBase) == "string" then urlBase = config.urlBase; end
691 691
692 theme = config.theme or "prosody"; 692 theme = config.theme or "prosody";