diff options
| -rw-r--r-- | bot/cogs/antimalware.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bot/cogs/antimalware.py b/bot/cogs/antimalware.py index b8c12accb..ababd6f18 100644 --- a/bot/cogs/antimalware.py +++ b/bot/cogs/antimalware.py @@ -25,7 +25,6 @@ class AntiMalware(Cog): break # Other detections irrelevant because we prioritize the .py message. if not attachment.filename.lower().endswith(tuple(AntiMalwareConfig.whitelist)): rejected_attachments = True - break if detected_pyfile or rejected_attachments: # Send a message to the user indicating the problem (with special treatment for .py) |