This commit is contained in:
AlteredCoder 2020-07-08 18:07:47 +02:00
parent 9b34e6e55d
commit 2e4ef87329

View file

@ -217,9 +217,7 @@ func BanList() error {
table.SetHeader([]string{"Source", "Ip", "Reason", "Bans", "Action", "Country", "AS", "Events", "Expiration"}) table.SetHeader([]string{"Source", "Ip", "Reason", "Bans", "Action", "Country", "AS", "Events", "Expiration"})
dispcount := 0 dispcount := 0
totcount := 0
apicount := 0 apicount := 0
localCount := 0
for _, rm := range ret { for _, rm := range ret {
if !displayAPI && rm["source"] == "api" { if !displayAPI && rm["source"] == "api" {
apicount++ apicount++