Mercurial > prosody-hg
changeset 14084:414e731b5972
mod_invites: When displaying invite info, display whether they are reusable
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Mon, 16 Feb 2026 17:56:32 +0000 |
| parents | 486d42764da9 |
| children | 1c68113846ff |
| files | plugins/mod_invites.lua |
| diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_invites.lua Mon Feb 16 17:56:02 2026 +0000 +++ b/plugins/mod_invites.lua Mon Feb 16 17:56:32 2026 +0000 @@ -386,6 +386,7 @@ print("Created:", os.date("%Y-%m-%d %T", invite.created_at)); print("Expires:", os.date("%Y-%m-%d %T", invite.expires)); + print("Single-use:", not invite.reusable and "Yes" or "No"); print("");
