You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've updated the button with some rate-limiting.
This involved adding a couple columns (REAL last_click, INTEGER spamming) to the db table.
On click, delta from last_click is checked; if less than minimum time, spamming flag is set and team can't submit for 10s (variable). If spamming is set, but it's been longer than spam_ban_time, spamming is unset, and click is allowed.
Whether click succeeds or not, last_click is updated.
0 commit comments