# HG changeset patch # User Thilo Cestonaro # Date 1277197009 -7200 # Node ID 9d4fd01443eb90a7d48324090cc10f9f7f3e8da2 # Parent 15bc93c85a08317c0f6ff54c35ecd3409298c6d9 mod_muc_log_http: ensure to have the default being "prosody" diff -r 15bc93c85a08 -r 9d4fd01443eb mod_muc_log_http/muc_log_http/mod_muc_log_http.lua --- a/mod_muc_log_http/muc_log_http/mod_muc_log_http.lua Thu Jun 17 11:24:02 2010 +0200 +++ b/mod_muc_log_http/muc_log_http/mod_muc_log_http.lua Tue Jun 22 10:56:49 2010 +0200 @@ -39,7 +39,7 @@ * Default templates for the html output. ]]-- local html = {}; -local theme = "prosody"; +local theme; local function checkDatastorePathExists(node, host, today, create) create = create or false; @@ -786,7 +786,7 @@ config.showJoin = true; end - theme = config.theme or "default"; + theme = config.theme or "prosody"; local themePath = themesParent .. "/" .. tostring(theme); local attributes, err = lfs.attributes(themePath); if attributes == nil or attributes.mode ~= "directory" then