Skip to content

Commit 65c8cb0

Browse files
committed
Fix: stored procedure
1 parent 8d16c6e commit 65c8cb0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

BasicAdmin/schema.sql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,7 @@ BEGIN
8989

9090
UPDATE {prefix}punishments
9191
SET length = IF(length - 1 = 0, -1, length - 1)
92-
WHERE expires_at > NOW()
93-
AND expires_at <= NOW() + INTERVAL 1 MINUTE;
92+
WHERE expires_at > NOW();
9493

9594
END;
9695

0 commit comments

Comments
 (0)