We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5d2bd7 commit 0e2d717Copy full SHA for 0e2d717
plugin/antiabuse/db.go
@@ -37,7 +37,7 @@ func newantidb(path string) (*antidb, error) {
37
}
38
_ = db.FindFor("__bantime__", nilbt, "", func() error {
39
t := time.Unix(nilbt.Time, 0)
40
- ttl := time.Until(t.Add(time.Hour * banhour)) // second
+ ttl := time.Until(t.Add(time.Hour * banhour))
41
if ttl < time.Minute {
42
_ = managers.DoUnblock(nilbt.ID)
43
return nil
0 commit comments