author | Matthew Wild <mwild1@gmail.com> |
Thu, 25 Apr 2013 20:36:55 +0100 | |
changeset 5519 | 06e188268df1 |
parent 5518 | 0220093e34fa |
child 5520 | 75230be5be58 |
--- a/plugins/muc/muc.lib.lua Thu Apr 25 17:50:22 2013 +0200 +++ b/plugins/muc/muc.lib.lua Thu Apr 25 20:36:55 2013 +0100 @@ -88,6 +88,10 @@ local room_mt = {}; room_mt.__index = room_mt; +function room_mt:__tostring() + return "MUC room ("..self.jid..")"; +end + function room_mt:get_default_role(affiliation) if affiliation == "owner" or affiliation == "admin" then return "moderator";