File

mod_compliance_latest/mod_compliance_latest.lua @ 6128:8ef4d825ad50

mod_anti_spam: Fix stanza type check in presence handler This was letting presence subscriptions slip through the net.
author Matthew Wild <mwild1@gmail.com>
date Tue, 31 Dec 2024 21:38:14 +0000
parent 6113:c0cb43817b7c
child 6211:750d64c47ec6
line wrap: on
line source

local success, err = pcall(function() module:depends("compliance_2023") end)

if not success then
module:log_status( "error", "Error, can't load module: mod_compliance_2023. Is this module downloaded into a folder readable by prosody?" )
return false
end