# HG changeset patch # User Kim Alvefur # Date 1544385213 -3600 # Node ID 2db341f7c5fc88403211e87f8674a70c35ec2647 # Parent ed0917381b4d039e69ce6184e04bf99ca3dd3da1 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 diff -r ed0917381b4d -r 2db341f7c5fc net/connlisteners.lua --- 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 -};