diff mod_muc_log/mod_muc_log.lua @ 54:f15108153710

Fix some muclogging -> muc_log issues I brought back in the merge
author Matthew Wild <mwild1@gmail.com>
date Sun, 18 Oct 2009 23:26:15 +0100
parents 5c4dd39a1e99
children d9749ed44f6e
line wrap: on
line diff
--- a/mod_muc_log/mod_muc_log.lua	Sun Oct 18 23:24:42 2009 +0100
+++ b/mod_muc_log/mod_muc_log.lua	Sun Oct 18 23:26:15 2009 +0100
@@ -270,7 +270,7 @@
 	
 	if validateLogFolder() == false then
 		return createDoc([[
-		Muclogging is not configured correctly. Add a section to Host * "muc_log" and configure the value for the logging "folder".<br />
+		MUC logging is not configured correctly. Add a section to Host * "muc_log" and configure the value for the logging "folder".<br />
 		Like:<br />
 		Host "*"<br />
 		....<br />
@@ -303,8 +303,8 @@
 end
 
 function module.load()
-	config = config_get("*", "core", "muclogging");
-	-- module:log("debug", "muclogging config: \n%s", dump(config));
+	config = config_get("*", "core", "muc_log");
+	-- module:log("debug", "muc_log config: \n%s", dump(config));
 	
 	httpserver.new_from_config({ config.http_port or true }, handle_request, { base = "muc_log" });
 	return validateLogFolder();