File

plugins/mod_compression.lua @ 9494:b19f676203fd

util.dependencies: Add compat code for normalization of socket constructors Old LuaSocket had only tcp() which was IPv4-only. LuaSocket ~3.0 adds a tcp6() that creates a IPv6 socket. Some version moves tcp() to tcp4() and adds an IP-version-agnostic tcp() constructor.
author Kim Alvefur <zash@zash.se>
date Fri, 12 Oct 2018 16:21:16 +0200
parent 7349:ad3dce172b01
line wrap: on
line source

-- Prosody IM
-- Copyright (C) 2016 Matthew Wild
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--

-- COMPAT w/ pre-0.10 configs
error("mod_compression has been removed in Prosody 0.10+. Please see https://prosody.im/doc/modules/mod_compression for more information.");