diff --git a/resources/prosody-plugins/mod_av_moderation_component.lua b/resources/prosody-plugins/mod_av_moderation_component.lua index de8945f60..0f7b769da 100644 --- a/resources/prosody-plugins/mod_av_moderation_component.lua +++ b/resources/prosody-plugins/mod_av_moderation_component.lua @@ -136,12 +136,11 @@ function on_message(event) room.av_moderation = {}; room.av_moderation_actors = {}; end - room.av_moderation[mediaType] = {}; room.av_moderation_actors[mediaType] = occupant.nick; end else enabled = false; - if not room.av_moderation or not room.av_moderation[mediaType] then + if not room.av_moderation then module:log('warn', 'Concurrent moderator enable/disable request or something is out of sync'); return true; else