fix: typo
Some checks failed
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Contributors / contributors (push) Has been cancelled
Sync / sync-to-jihulab (push) Has been cancelled
Run Tests / tests (macos) (push) Has been cancelled
Run Tests / tests (ubuntu) (push) Has been cancelled
Run Tests / tests (windows) (push) Has been cancelled

This commit is contained in:
naiba 2025-01-01 16:14:19 +08:00
parent 283733d120
commit d6731e3f43

View File

@ -72,7 +72,7 @@ func CheckIP(db *gorm.DB, ip string) error {
now := time.Now().Unix()
if powAdd(count, 4, blockTimestamp) > uint64(now) {
return errors.New("you are blocked by nezha WAF")
return errors.New("you were blocked by nezha WAF")
}
return nil
}