MUC: Removed some debug logging.

Mon, 14 Sep 2009 02:11:17 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Mon, 14 Sep 2009 02:11:17 +0500
changeset 1781
b3eee6151592
parent 1780
668ce0a2050d
child 1782
dd819e5bb0b8

MUC: Removed some debug logging.

plugins/muc/mod_muc.lua file | annotate | diff | comparison | revisions
--- a/plugins/muc/mod_muc.lua	Mon Sep 14 02:08:20 2009 +0500
+++ b/plugins/muc/mod_muc.lua	Mon Sep 14 02:11:17 2009 +0500
@@ -31,9 +31,7 @@
 local function room_save(room, forced)
 	local node = jid_split(room.jid);
 	persistent_rooms[room.jid] = room._data.persistent;
-	module:log("debug", "1, %s, %s", room.jid, tostring(room._data.persistent));
 	if room._data.persistent then
-		module:log("debug", "2");
 		local history = room._data.history;
 		room._data.history = nil;
 		local data = {
@@ -44,10 +42,8 @@
 		datamanager.store(node, muc_host, "config", data);
 		room._data.history = history;
 	elseif forced then
-		module:log("debug", "3");
 		datamanager.store(node, muc_host, "config", nil);
 	end
-	module:log("debug", "4");
 	if forced then datamanager.store(nil, muc_host, "persistent", persistent_rooms); end
 end
 

mercurial