comparison plugins/mod_invites.lua @ 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
comparison
equal deleted inserted replaced
14083:486d42764da9 14084:414e731b5972
384 print("Creator:", invite.inviter); 384 print("Creator:", invite.inviter);
385 end 385 end
386 386
387 print("Created:", os.date("%Y-%m-%d %T", invite.created_at)); 387 print("Created:", os.date("%Y-%m-%d %T", invite.created_at));
388 print("Expires:", os.date("%Y-%m-%d %T", invite.expires)); 388 print("Expires:", os.date("%Y-%m-%d %T", invite.expires));
389 print("Single-use:", not invite.reusable and "Yes" or "No");
389 390
390 print(""); 391 print("");
391 392
392 if invite.uri then 393 if invite.uri then
393 print("XMPP URI:", invite.uri); 394 print("XMPP URI:", invite.uri);