diff --git a/fail2ban/server/jail.py b/fail2ban/server/jail.py index 3309054e..657769d2 100644 --- a/fail2ban/server/jail.py +++ b/fail2ban/server/jail.py @@ -295,7 +295,7 @@ class Jail(object): ): try: #logSys.debug('restored ticket: %s', ticket) - if self.filter.inIgnoreIPList(ticket, log_ignore=True): continue + if self.filter._inIgnoreIPList(ticket.getID(), ticket): continue # mark ticked was restored from database - does not put it again into db: ticket.restored = True # correct start time / ban time (by the same end of ban):