Skip to content

65c8cb0

Choose a tag to compare

@github-actions github-actions released this 19 Dec 16:34
· 6 commits to main since this release

Fix: stored procedure

small update to fix the stored procedure
if you are already running the latest version, please execute the following sql in your database:

drop procedure ExpireBans;

create procedure ExpireBans()
BEGIN

    UPDATE punishments
    SET length = IF(length - 1 = 0, -1, length - 1)
    WHERE expires_at > NOW(); 
    
END;