feat: improve reason string on db
All checks were successful
build / build (push) Successful in 3m8s

This commit is contained in:
d3m0k1d
2026-01-26 14:04:30 +03:00
parent e907fb0b1a
commit cadbbc9080
4 changed files with 11 additions and 11 deletions

View File

@@ -100,7 +100,7 @@ func (j *Judge) Tribunal() {
break
}
err = j.db_w.AddBan(entry.IP, rule.BanTime)
err = j.db_w.AddBan(entry.IP, rule.BanTime, rule.Name)
if err != nil {
j.logger.Error(
"Failed to add ban to database",