aboutsummaryrefslogtreecommitdiffstats
path: root/util/events.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util/events.lua')
-rw-r--r--util/events.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/events.lua b/util/events.lua
index 073d2a60..e2943e44 100644
--- a/util/events.lua
+++ b/util/events.lua
@@ -131,7 +131,7 @@ local function new()
end
end
if #w == 0 then
- if event_name == nil then
+ if event_name == false then
global_wrappers = nil;
else
wrappers[event_name] = nil;