Browse Source

Fix the removal of expired bans

Visman 4 years ago
parent
commit
ce2a299ad0
1 changed files with 4 additions and 1 deletions
  1. 4 1
      app/Models/BanList/Load.php

+ 4 - 1
app/Models/BanList/Load.php

@@ -79,7 +79,10 @@ class Load extends Method
             if (
                 null !== $expire
                 && $expire > 0
-                && $expire < $first
+                && (
+                    0 === $first
+                    || $expire < $first
+                )
             ) {
                 $first = $expire;
             }