projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MUC: Provide a noop stub room:save() method
[prosody.git]
/
plugins
/
muc
/
description.lib.lua
diff --git
a/plugins/muc/description.lib.lua
b/plugins/muc/description.lib.lua
index c4b1bd093c7df86d1e060e419ae9e16426b5dd84..8dfabbcba922dbf9b528756f8e4a11b81ace76dc 100644
(file)
--- a/
plugins/muc/description.lib.lua
+++ b/
plugins/muc/description.lib.lua
@@
-15,7
+15,7
@@
local function set_description(room, description)
if description == "" then description = nil; end
if get_description(room) == description then return false; end
room._data.description = description;
- if room.save then room:save(true); end
+ room:save(true);
return true;
end