diff options
-rw-r--r-- | net/server_event.lua | 1 | ||||
-rw-r--r-- | plugins/muc/mod_muc.lua | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/net/server_event.lua b/net/server_event.lua index 0331e793..a63e20d7 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -468,7 +468,6 @@ do function interface_mt:ondrain() end function interface_mt:onstatus() - debug("server.lua: Dummy onstatus()") end end diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua index cef31298..a9d9336c 100644 --- a/plugins/muc/mod_muc.lua +++ b/plugins/muc/mod_muc.lua @@ -35,7 +35,7 @@ local component; 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 |