# HG changeset patch # User Matthew Wild # Date 1369138890 -3600 # Node ID 4fd2708fe8dff190b4408b760fc8dcc084fdd93e # Parent 783078bc111c7c622dc465818954100770977851 mod_muc: Remove some old TODO comments diff -r 783078bc111c -r 4fd2708fe8df plugins/muc/muc.lib.lua --- 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"));