aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-08-06 11:58:01 +0200
committerKim Alvefur <zash@zash.se>2016-08-06 11:58:01 +0200
commit0b44bf4b7fbbc088ab2a1d90f7e19c68a46601ea (patch)
tree21a9f604efe722a6f8e7e1e6c03fe22fa7d57917 /plugins
parentea980269cc884432741101ef7eaa54223ce8584d (diff)
downloadprosody-0b44bf4b7fbbc088ab2a1d90f7e19c68a46601ea.tar.gz
prosody-0b44bf4b7fbbc088ab2a1d90f7e19c68a46601ea.zip
MUC: Pass room JID instead of room itself to logger, fixes traceback (thanks damencho)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/muc/mod_muc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua
index 1fd4c94b..0f327c13 100644
--- a/plugins/muc/mod_muc.lua
+++ b/plugins/muc/mod_muc.lua
@@ -145,7 +145,7 @@ local function restore_room(jid)
end
function forget_room(room)
- module:log("debug", "Forgetting %s", room);
+ module:log("debug", "Forgetting %s", room.jid);
rooms.save = nil;
rooms:set(room.jid, nil);
end