vairious: Add annotation when an empty environment is set [luacheck]

This commit is contained in:
Kim Alvefur 2018-02-28 20:06:26 +01:00
parent 8e377a8d55
commit 43b814a83b
46 changed files with 46 additions and 0 deletions

View file

@ -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");