Diff

plugins/muc/mod_muc.lua @ 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
parent 7417:4c8ee8175f5e
child 7641:5eef792bb2e1
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