Mercurial > prosody-modules
view mod_rtbl/README.md @ 6514:668b1f0a4dc6
mod_c2s_limit_sessions: Fix check when it's the first connection
Creation of the sessions[username] entry happens after the
"pre-resource-bind" event, before the "resource-bind" event.
Thus, for a users first connection, it may not exist.
This led to an 'attempt to index a nil value' error, fixed here.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 08 Apr 2026 15:56:38 +0200 |
| parents | e7926245c88d |
| children |
line wrap: on
line source
--- summary: Helper module to allow other modules sunscribe to real-time blocklists rockspec: dependencies: - mod_pubsub_subscription labels: - Stage-Alpha ... This module allows other modules to subscribe to real-time blocklists using pubsub (XEP-0060). As entries are added and removed from the blocklist, it notifies other modules so they can perform appropriate actions. # Configuring This module does not do anything on its own. It **should not** be added directly to your configuration file. Instead, you might want to look at modules which use mod\_rtbl, such as: - mod\_anti\_spam - mod\_muc\_rtbl # Compatibility Should work with Prosody >= 0.12.x
