aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgpcf <gpcf@gpcf.eu>2024-09-22 16:26:08 +0200
committergpcf <gpcf@gpcf.eu>2024-09-22 16:26:08 +0200
commitace14bc0c24ff0fb1901727a088d651e2473cac5 (patch)
treee178a84fc8a3381bc3c1e1688c1c4c5540d53824
parent07497d8957d1969af9b08ee35899609892438bc8 (diff)
downloadatm-ace14bc0c24ff0fb1901727a088d651e2473cac5.tar.gz
atm-ace14bc0c24ff0fb1901727a088d651e2473cac5.tar.bz2
atm-ace14bc0c24ff0fb1901727a088d651e2473cac5.zip
Log welfare actions by moderators
-rw-r--r--interest.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/interest.lua b/interest.lua
index 54df1ce..ffcc0fc 100644
--- a/interest.lua
+++ b/interest.lua
@@ -40,6 +40,7 @@ minetest.register_chatcommand("give_welfare", {
return false, plname.." does not have a bank account!"
end
atm.welfare[plname] = tonumber(amount) or atm.welfare_cap
+ minetest.log("action", "[ATM] Player "..plname.." put on welfare by "..name)
minetest.chat_send_player(name, "Player "..plname.." put on welfare successfully.")
return true
end,