Software /
code /
prosody
Changeset
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 |
parents | 3387:ebb8d0f9a177 |
children | 3390:a88576f675cb |
files | plugins/muc/mod_muc.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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