Software /
code /
prosody
Comparison
plugins/muc/mod_muc.lua @ 9078:9e339197c724
mod_muc: Add comment
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 03 Aug 2018 13:43:47 +0100 |
parent | 9051:68386f7b9fc9 |
child | 9079:c040c358d6c0 |
comparison
equal
deleted
inserted
replaced
9077:aefb96a52f5f | 9078:9e339197c724 |
---|---|
171 if rooms:set(room.jid, room) then | 171 if rooms:set(room.jid, room) then |
172 -- When room is created, over-ride 'save' method | 172 -- When room is created, over-ride 'save' method |
173 room.save = room_save; | 173 room.save = room_save; |
174 return room; | 174 return room; |
175 end | 175 end |
176 -- Resource limit reached | |
176 return false; | 177 return false; |
177 end | 178 end |
178 | 179 |
179 local function handle_broken_room(room, origin, stanza) | 180 local function handle_broken_room(room, origin, stanza) |
180 module:log("debug", "Returning error from broken room %s", room.jid); | 181 module:log("debug", "Returning error from broken room %s", room.jid); |