aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-09-14 02:11:17 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-09-14 02:11:17 +0500
commit45567765421d46ff2ec60874e63bb1375759318b (patch)
treee985f8f618ecca7228b93bd076f6edbc0e591bfb /plugins
parent77b771fe1573092c52fdacc35d235ca13734c295 (diff)
downloadprosody-45567765421d46ff2ec60874e63bb1375759318b.tar.gz
prosody-45567765421d46ff2ec60874e63bb1375759318b.zip
MUC: Removed some debug logging.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/muc/mod_muc.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua
index 1b6dd3c2..3e6fafb8 100644
--- a/plugins/muc/mod_muc.lua
+++ b/plugins/muc/mod_muc.lua
@@ -31,9 +31,7 @@ local function room_route_stanza(room, stanza) core_post_stanza(component, stanz
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 @@ local function room_save(room, forced)
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