fix: log cleanup

This commit is contained in:
2022-09-29 07:59:16 +02:00
parent 4c8d19647f
commit 19f35d8bdb
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -210,9 +210,9 @@ local function handle_unregister_iq(room, origin, stanza)
local occupants = room._occupants;
module:fire_event("vnc-muc-kick", { room = stanza.attr.to, who = user_jid });
for nick, occupant in room:each_occupant() do
module:log("info", "occupant bare: %s", occupant.bare_jid);
end
-- for nick, occupant in room:each_occupant() do
-- module:log("info", "occupant bare: %s", occupant.bare_jid);
-- end
if (affiliation ~= "") then
module:log("info","removing affiliaton from %s for %s", stanza.attr.to, user_jid);
affs[user_jid] = nil;
+1 -1
View File
@@ -77,7 +77,7 @@ local function handle_muc_message(event)
for _, occupant in pairs(room._occupants) do
if occupant.bare_jid == jid then
for k,v in pairs(occupant.sessions) do
module:log("info", "occupant k %s", k);
-- module:log("info", "occupant k %s", k);
jid_resources[k] = nil;
end
-- module:log("info", "remaining resources: ", dumpTable(jid_resources));