Changeset

1781:b3eee6151592

MUC: Removed some debug logging.
author Waqas Hussain <waqas20@gmail.com>
date Mon, 14 Sep 2009 02:11:17 +0500
parents 1780:668ce0a2050d
children 1782:dd819e5bb0b8
files plugins/muc/mod_muc.lua
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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