diff options
author | Kim Alvefur <zash@zash.se> | 2016-08-06 11:58:01 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-08-06 11:58:01 +0200 |
commit | 0b44bf4b7fbbc088ab2a1d90f7e19c68a46601ea (patch) | |
tree | 21a9f604efe722a6f8e7e1e6c03fe22fa7d57917 /plugins/muc/mod_muc.lua | |
parent | ea980269cc884432741101ef7eaa54223ce8584d (diff) | |
download | prosody-0b44bf4b7fbbc088ab2a1d90f7e19c68a46601ea.tar.gz prosody-0b44bf4b7fbbc088ab2a1d90f7e19c68a46601ea.zip |
MUC: Pass room JID instead of room itself to logger, fixes traceback (thanks damencho)
Diffstat (limited to 'plugins/muc/mod_muc.lua')
-rw-r--r-- | plugins/muc/mod_muc.lua | 2 |
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 |