mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
net.httpserver: Make function local, fixes loading since there is no environment [luacheck]
This commit is contained in:
parent
51b193594f
commit
bf9705c70b
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ local traceback = debug.traceback;
|
|||
local _ENV = nil;
|
||||
-- luacheck: std none
|
||||
|
||||
function fail()
|
||||
local function fail()
|
||||
log("error", "Attempt to use legacy HTTP API. For more info see https://prosody.im/doc/developers/legacy_http");
|
||||
log("error", "Legacy HTTP API usage, %s", traceback("", 2));
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue