Changeset

7536:3f8520b59677

MUC: Pass room JID instead of room itself to logger, fixes traceback (thanks damencho)
author Kim Alvefur <zash@zash.se>
date Sat, 06 Aug 2016 11:58:01 +0200
parents 7535:4a3a3098d9bb
children 7542:0f92dc8e8b88
files plugins/muc/mod_muc.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/muc/mod_muc.lua	Wed Aug 03 19:22:01 2016 +0200
+++ b/plugins/muc/mod_muc.lua	Sat Aug 06 11:58:01 2016 +0200
@@ -145,7 +145,7 @@
 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