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

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

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

Loading…
Cancel
Save