# HG changeset patch # User Matthew Wild # Date 1463075130 -3600 # Node ID ba83ff7d9bd7491e05303dba3688a5e08a314d5f # Parent d6f12056afda1f6ff996443395381b041f37207f util.events: Fix comparison of event_name with nil instead of false (fixes #554) diff -r d6f12056afda -r ba83ff7d9bd7 util/events.lua --- a/util/events.lua Wed May 04 15:31:32 2016 +0200 +++ b/util/events.lua Thu May 12 18:45:30 2016 +0100 @@ -131,7 +131,7 @@ end end if #w == 0 then - if event_name == nil then + if event_name == false then global_wrappers = nil; else wrappers[event_name] = nil;