changeset 8682 | adc17a2bd6fd |
parent 8558 | 4f0f5b49bb03 |
child 12978 | ba409c67353b |
--- a/net/httpserver.lua Fri Mar 23 13:18:28 2018 +0100 +++ b/net/httpserver.lua Fri Mar 23 13:20:19 2018 +0100 @@ -5,7 +5,7 @@ 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