Software /
code /
prosody
Diff
net/httpserver.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 | 7359:a5a080c12c96 |
child | 8679:adc17a2bd6fd |
line wrap: on
line diff
--- a/net/httpserver.lua Wed Feb 28 18:12:20 2018 +0100 +++ b/net/httpserver.lua Wed Feb 28 20:06:26 2018 +0100 @@ -3,6 +3,7 @@ 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");