aboutsummaryrefslogtreecommitdiffstats
path: root/net/connlisteners.lua
blob: 99ddc720aa570fb02765191ca6b1c47eaddaaee0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
-- COMPAT w/pre-0.9
local log = require "util.logger".init("net.connlisteners");
local traceback = debug.traceback;

module "httpserver"

function fail()
	log("error", "Attempt to use legacy connlisteners API. For more info see http://prosody.im/doc/developers/network");
	log("error", "Legacy connlisteners API usage, %s", traceback("", 2));
end

register, deregister = fail, fail;
get, start = fail, fail, epic_fail;

return _M;