BF: Ignored IPs no longer being banned from database on restart

pull/666/head
Steven Hiscocks 11 years ago
parent 7046388291
commit b73ed9b59e

@ -211,6 +211,7 @@ class Jail:
if self.database is not None: if self.database is not None:
for ticket in self.database.getBans( for ticket in self.database.getBans(
jail=self, bantime=self.actions.getBanTime()): jail=self, bantime=self.actions.getBanTime()):
if not self.filter.inIgnoreIPList(ticket.getIP()):
self.__queue.put(ticket) self.__queue.put(ticket)
logSys.info("Jail '%s' started" % self.name) logSys.info("Jail '%s' started" % self.name)

Loading…
Cancel
Save