Mercurial > prosody-hg
comparison 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 |
| parents | 4c8ee8175f5e |
| children | 5eef792bb2e1 |
comparison
equal
deleted
inserted
replaced
| 7535:4a3a3098d9bb | 7536:3f8520b59677 |
|---|---|
| 143 return room; | 143 return room; |
| 144 end | 144 end |
| 145 end | 145 end |
| 146 | 146 |
| 147 function forget_room(room) | 147 function forget_room(room) |
| 148 module:log("debug", "Forgetting %s", room); | 148 module:log("debug", "Forgetting %s", room.jid); |
| 149 rooms.save = nil; | 149 rooms.save = nil; |
| 150 rooms:set(room.jid, nil); | 150 rooms:set(room.jid, nil); |
| 151 end | 151 end |
| 152 | 152 |
| 153 function delete_room(room) | 153 function delete_room(room) |
