Software / code / prosody
Comparison
plugins/mod_admin_adhoc.lua @ 9401:6329c07452b7
mod_admin_adhoc: Ignore shadowed 'err' variables [luacheck]
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 30 Sep 2018 13:39:25 +0200 |
| parent | 9400:9ef746c2a644 |
| child | 9402:b530b5daae91 |
comparison
equal
deleted
inserted
replaced
| 9400:9ef746c2a644 | 9401:6329c07452b7 |
|---|---|
| 1 -- Copyright (C) 2009-2011 Florian Zeitz | 1 -- Copyright (C) 2009-2011 Florian Zeitz |
| 2 -- | 2 -- |
| 3 -- This file is MIT/X11 licensed. Please see the | 3 -- This file is MIT/X11 licensed. Please see the |
| 4 -- COPYING file in the source package for more information. | 4 -- COPYING file in the source package for more information. |
| 5 -- | 5 -- |
| 6 -- luacheck: ignore 212/self 212/data 212/state 412/err | 6 -- luacheck: ignore 212/self 212/data 212/state 412/err 422/err |
| 7 | 7 |
| 8 local _G = _G; | 8 local _G = _G; |
| 9 | 9 |
| 10 local prosody = _G.prosody; | 10 local prosody = _G.prosody; |
| 11 local hosts = prosody.hosts; | 11 local hosts = prosody.hosts; |