Mercurial > prosody-modules
view mod_http_admin_api/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 | fc607d79765a |
| children |
line wrap: on
line source
--- summary: "admin api from the snikket projects web portal" labels: - 'Stage-Beta' rockspec: dependencies: - mod_cloud_notify - mod_lastlog2 - mod_groups_internal ... Introduction ============ ...to be done... Configuration ============= There is no configuration for this module, just add it to modules\_enabled as normal. # Compatibility Depends on community modules: * [mod_cloud_notify] * [mod_lastlog2] * [mod_groups_internal] Prosody Version Support Status ---------------- ---------------- trunk[^1] Works 0.12 unknown ---------------- ---------------- [^1]: as of 2024-10-23
