Software /
code /
prosody
Changeset
5618:4fd2708fe8df
mod_muc: Remove some old TODO comments
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 21 May 2013 13:21:30 +0100 |
parents | 5617:783078bc111c |
children | 5619:6a87b75aedd5 |
files | plugins/muc/muc.lib.lua |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/muc/muc.lib.lua Tue May 21 13:21:12 2013 +0100 +++ b/plugins/muc/muc.lib.lua Tue May 21 13:21:30 2013 +0100 @@ -215,7 +215,6 @@ return reply; end function room_mt:set_subject(current_nick, subject) - -- TODO check nick's authority if subject == "" then subject = nil; end self._data['subject'] = subject; self._data['subject_from'] = current_nick; @@ -848,7 +847,7 @@ if subject then if occupant.role == "moderator" or ( self._data.changesubject and occupant.role == "participant" ) then -- and participant - self:set_subject(current_nick, subject); -- TODO use broadcast_message_stanza + self:set_subject(current_nick, subject); else stanza.attr.from = from; origin.send(st.error_reply(stanza, "auth", "forbidden"));