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 | ac565db2d8dc8239ab1c6bf4d3fadc2ca8c78d5f (patch) | |
tree | 21a9f604efe722a6f8e7e1e6c03fe22fa7d57917 /plugins | |
parent | 0ba0df145e016ce7070d47eab0d28a16d0fe6435 (diff) | |
download | prosody-ac565db2d8dc8239ab1c6bf4d3fadc2ca8c78d5f.tar.gz prosody-ac565db2d8dc8239ab1c6bf4d3fadc2ca8c78d5f.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.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 |