mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
vairious: Add annotation when an empty environment is set [luacheck]
This commit is contained in:
parent
8e377a8d55
commit
43b814a83b
46 changed files with 46 additions and 0 deletions
|
@ -3,6 +3,7 @@ local log = require "util.logger".init("net.httpserver");
|
|||
local traceback = debug.traceback;
|
||||
|
||||
local _ENV = nil;
|
||||
-- luacheck: std none
|
||||
|
||||
function fail()
|
||||
log("error", "Attempt to use legacy HTTP API. For more info see https://prosody.im/doc/developers/legacy_http");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue