commit ca490272758b8af62dc3d5506500cb3717e8fda5
parent 300aa5fe86cb09687b748db7fb483a5259e2ed8e
Author: Juan F. Meleiro <juan@juanmeleiro.mat.br>
Date: Mon, 27 Jan 2025 11:33:55 -0300
Add birthday reporting for players that have it set
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lib/report.lua b/lib/report.lua
@@ -80,6 +80,7 @@ function _M.monthly(args, players, log)
local h = players[n].history
hist:write("===============\n"..n)
if players[n].contact then hist:write(" <"..players[n].contact..">\n") else hist:write("\n") end
+ if players[n].birthday then hist:write(" Birthday: " .. players[n].birthday .. "\n") end
for _,e in ipairs(h) do
if e.reason == "s" then
f = " ({reason}) {name} <{contact}> ({registration}--now)\n"