aboutsummaryrefslogtreecommitdiffstats
path: root/util
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
commit3ea5fffa9cedafcd138a5f41a62407baf39e3b56 (patch)
treec8b847d564b038e238fd22277830ca1f9a2a9f0f /util
parent656c7f084cda32f900a51ffd2982340ff17792a8 (diff)
parent6e9ced38abe48ef15310ccc0d1fa93530e217cca (diff)
downloadprosody-3ea5fffa9cedafcd138a5f41a62407baf39e3b56.tar.gz
prosody-3ea5fffa9cedafcd138a5f41a62407baf39e3b56.zip
Merge 0.10->trunk
Diffstat (limited to 'util')
-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;