Software /
code /
prosody
Changeset
9697:2db341f7c5fc
net.connlisteners: Remove deprecated stub module
This was deprecated in 0.9.x
Removing so auto-completion chooses net/connect.lua instead of net/conn
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 09 Dec 2018 20:53:33 +0100 |
parents | 9696:ed0917381b4d |
children | 9699:588ec80f1677 |
files | net/connlisteners.lua |
diffstat | 1 files changed, 0 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/net/connlisteners.lua Sat Dec 08 21:28:48 2018 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ --- COMPAT w/pre-0.9 -local log = require "util.logger".init("net.connlisteners"); -local traceback = debug.traceback; - -local _ENV = nil; --- luacheck: std none - -local function fail() - log("error", "Attempt to use legacy connlisteners API. For more info see https://prosody.im/doc/developers/network"); - log("error", "Legacy connlisteners API usage, %s", traceback("", 2)); -end - -return { - register = fail; - get = fail; - start = fail; - -- epic fail -};