diff --git a/fail2ban/server/jail.py b/fail2ban/server/jail.py index ab32b806..ae5a549f 100644 --- a/fail2ban/server/jail.py +++ b/fail2ban/server/jail.py @@ -289,7 +289,7 @@ class Jail(object): ): try: #logSys.debug('restored ticket: %s', ticket) - if self.filter.inIgnoreIPList(ticket.getID(), 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):