diff options
author | Kim Alvefur <zash@zash.se> | 2018-02-28 20:06:26 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-02-28 20:06:26 +0100 |
commit | 146acdbd338c1e2c2523b720cd1b93a7db1476eb (patch) | |
tree | 0f24fe5bf868191f9e33931f28c9db16e098d2bb /util/events.lua | |
parent | 5a20cd359acf20247d9c2e4168bbe65253dbcce9 (diff) | |
download | prosody-146acdbd338c1e2c2523b720cd1b93a7db1476eb.tar.gz prosody-146acdbd338c1e2c2523b720cd1b93a7db1476eb.zip |
vairious: Add annotation when an empty environment is set [luacheck]
Diffstat (limited to 'util/events.lua')
-rw-r--r-- | util/events.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/events.lua b/util/events.lua index a71d118f..78700d65 100644 --- a/util/events.lua +++ b/util/events.lua @@ -15,6 +15,7 @@ local setmetatable = setmetatable; local next = next; local _ENV = nil; +-- luacheck: std none local function new() -- Map event name to ordered list of handlers (lazily built): handlers[event_name] = array_of_handler_functions |