From 8ab903a4c759e3e290fc214a81431810944d2b10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20B=C3=BCchner?= Date: Tue, 11 Feb 2025 19:37:34 +0100 Subject: [PATCH] fix int match --- ubottu/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubottu/bot.py b/ubottu/bot.py index 66cc3f0..cf00a17 100644 --- a/ubottu/bot.py +++ b/ubottu/bot.py @@ -216,7 +216,7 @@ class Ubottu(Plugin): bug_id = match[1] if match[2]: bug_id = match[2] - if bug_id < 1000: + if int(bug_id) < 1000: return False if self.flood_protection.flood_check_bug(bug_id) and self.flood_protection.flood_check(evt.sender): data = await self.lookup_launchpad_bug(bug_id)