Mercurial > prosody-modules
view mod_smacks_offline/mod_smacks_offline.lua @ 5102:9eed88ac8ee8
mod_s2soutinjection: Use module logging API
_G.log exists but modules should normally use module:log(), or
session.log where applicable.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 02 Dec 2022 22:05:13 +0100 |
parents | a3693e0d26b8 |
children |
line wrap: on
line source
-- this module is deprecated, log an error and load the superseding module instead module:depends"smacks" module:log("error", "mod_smacks_offline is deprecated! Just use mod_smacks!");