Mercurial > prosody-modules
view mod_smacks_noerror/mod_smacks_noerror.lua @ 5853:97c9b76867ca
mod_log_ringbuffer: Detach event handlers on logging reload (thanks Menel)
Otherwise the global event handlers accumulate, one added each time
logging is reoladed, and each invocation of the signal or event triggers
one dump of each created ringbuffer.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 03 Mar 2024 11:23:40 +0100 |
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)");