view mod_smacks_noerror/mod_smacks_noerror.lua @ 4609:fcfe691d6322

mod_pubsub_summary: Use pre-escaped UTF-8 sequence for compat This silences a warning about using the non-existent global 'utf8' each time this line was hit. The utf8 library was introduced in Lua 5.3, so the warning would appear with 5.1 and 5.2.
author Kim Alvefur <zash@zash.se>
date Wed, 30 Jun 2021 15:53:49 +0200
parents e7dc25e54d02
children
line wrap: on
line source

-- this module is deprecated, log an error and load the superseding modules instead
module:depends"smacks"
module:depends"nooffline_noerror"

module:log("error", "mod_smacks_noerror is deprecated! Just use mod_smacks and load mod_nooffline_noerror if you explicitly disabled offline storage (mod_offline)");