File

plugins/mod_compression.lua @ 8408:b751bee6a829

util.async: Fix thread check to work correctly in Lua 5.2 coroutine.running() now returns the main thread and a boolean true if called from the main thread, as opposed to nil in 5.1
author Kim Alvefur <zash@zash.se>
date Tue, 21 Nov 2017 21:48:43 +0100
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.");