Mercurial > prosody-modules
diff mod_ircd/mod_ircd.in.lua @ 485:f8cc2be7e16a
mod_ircd: removed role check.
author | Marco Cirillo <maranda@lightwitch.org> |
---|---|
date | Mon, 28 Nov 2011 16:27:41 +0000 |
parents | 0b75c7d41b82 |
children | 8bdab5489653 |
line wrap: on
line diff
--- a/mod_ircd/mod_ircd.in.lua Mon Nov 28 16:07:17 2011 +0000 +++ b/mod_ircd/mod_ircd.in.lua Mon Nov 28 16:27:41 2011 +0000 @@ -458,7 +458,7 @@ if not channel then return end local room = session.rooms[channel]; - if topic and room.occupants[room.nick]["role"] == "moderator" then room:set_subject(topic); end + if topic then room:set_subject(topic); end end function commands.WHO(session, args)