From c0c00a075950f08791f0b3a6555d93e2218c0821 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 11 Aug 2022 13:52:20 +0200 Subject: [PATCH] fix rules sometimes updating without changes --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index ae2843d..7a15071 100644 --- a/main.py +++ b/main.py @@ -307,6 +307,8 @@ def create_rules(tracked_users: list[str]) -> list[str]: # Buffer buffer = repeat + tracked_users.sort() + # Track users for user in tracked_users: # Check if the rule don't exceeds the maximum length of a rule (512)