# HG changeset patch # User Kim Alvefur # Date 1449675223 -3600 # Node ID 05ef46379165093dd754c1cd64353bb8ac6aafee # Parent c515f9491ce619a141e5e3f4f5068383694198c0 MUC: Fix previous commit diff -r c515f9491ce6 -r 05ef46379165 plugins/muc/muc.lib.lua --- a/plugins/muc/muc.lib.lua Tue Dec 08 20:19:30 2015 +0100 +++ b/plugins/muc/muc.lib.lua Wed Dec 09 16:33:43 2015 +0100 @@ -683,8 +683,8 @@ local changed = {}; local function handle_option(name, field, allowed) - local new, err, included = fields[field], errors[field], present[field]; - if not included then return; end + if not present[field] then return; end + local new = fields[field]; if allowed and not allowed[new] then return; end if new == self["get_"..name](self) then return; end changed[name] = true;