Software /
code /
prosody
Diff
plugins/muc/mod_muc.lua @ 3388:02e668d64e05
MUC: No need to call is_admin twice now, global admins are admins on hosts
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 17 Jul 2010 15:20:45 +0100 |
parent | 3330:bdc325ce9fbc |
child | 3510:711eb5bf94b4 |
line wrap: on
line diff
--- a/plugins/muc/mod_muc.lua Sat Jul 17 15:17:02 2010 +0100 +++ b/plugins/muc/mod_muc.lua Sat Jul 17 15:20:45 2010 +0100 @@ -35,7 +35,7 @@ local max_history_messages = module:get_option_number("max_history_messages"); local function is_admin(jid) - return um_is_admin(jid) or um_is_admin(jid, module.host); + return um_is_admin(jid, module.host); end local function room_route_stanza(room, stanza) core_post_stanza(component, stanza); end