From a85307b3d3c76c6742336c1ee701a76f1cc030ec Mon Sep 17 00:00:00 2001
From: mrroman <mrroman@devsite.pl>
Date: Thu, 28 Dec 2023 21:28:38 +0000
Subject: [PATCH] Use ksh instead of sh in rc script

---
 vilain.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/vilain.py b/vilain.py
index 1748f4a..07f5f4d 100644
--- a/vilain.py
+++ b/vilain.py
@@ -95,7 +95,7 @@
         self.watch_while, self.default_maxtries, self.vilain_table, self.ignore_ips, self.sleeptime = load_config(config, config_dict)
         self.ip_seen_at = {}
         self.load_bad_ips()
-        self.bad_ip_queue = asyncio.Queue(loop=self.loop)
+        self.bad_ip_queue = asyncio.Queue()
 
         for entry in load_sections(config):
             logger.info("Start vilain for {}".format(entry))

--
Gitblit v1.9.3