Software /
code /
prosody
Comparison
util/filters.lua @ 8555:4f0f5b49bb03
vairious: Add annotation when an empty environment is set [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 28 Feb 2018 20:06:26 +0100 |
parent | 6777:5de6b93d0190 |
comparison
equal
deleted
inserted
replaced
8554:12a68e0d0ecf | 8555:4f0f5b49bb03 |
---|---|
7 -- | 7 -- |
8 | 8 |
9 local t_insert, t_remove = table.insert, table.remove; | 9 local t_insert, t_remove = table.insert, table.remove; |
10 | 10 |
11 local _ENV = nil; | 11 local _ENV = nil; |
12 -- luacheck: std none | |
12 | 13 |
13 local new_filter_hooks = {}; | 14 local new_filter_hooks = {}; |
14 | 15 |
15 local function initialize(session) | 16 local function initialize(session) |
16 if not session.filters then | 17 if not session.filters then |