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

@@ -105,7 +105,7 @@ var BanCmd = &cobra.Command{
fmt.Println(err)
os.Exit(1)
}
err = db.AddBan(ip, ttl_fw)
err = db.AddBan(ip, ttl_fw, "manual ban")
if err != nil {
fmt.Println(err)
os.Exit(1)