Software /
code /
prosody
Diff
plugins/muc/muc.lib.lua @ 5618:4fd2708fe8df
mod_muc: Remove some old TODO comments
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 21 May 2013 13:21:30 +0100 |
parent | 5614:2a3341e7ed32 |
child | 5681:43cc1f95395e |
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"));