aboutsummaryrefslogtreecommitdiffstats
path: root/util/events.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2016-05-12 18:45:59 +0100
committerMatthew Wild <mwild1@gmail.com>2016-05-12 18:45:59 +0100
commita037c7701de2d85ae0517548399be13a766c0d35 (patch)
treec8b847d564b038e238fd22277830ca1f9a2a9f0f /util/events.lua
parent89ac539d01e44a52401c011025b2449998a23e22 (diff)
parentc3d3e85ce863511219b924e400ff0721747afc46 (diff)
downloadprosody-a037c7701de2d85ae0517548399be13a766c0d35.tar.gz
prosody-a037c7701de2d85ae0517548399be13a766c0d35.zip
Merge 0.10->trunk
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;