Skip to content

Commit

Permalink
simple_commands.py: blehhhh
Browse files Browse the repository at this point in the history
  • Loading branch information
just-max authored Nov 3, 2023
1 parent 8b4807f commit a2fff75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion owobot/cogs/simple_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async def clear_links(urls=None):
params = parse_qs(parsed_url.query)
new_params = dict.copy(params)
for key in params.keys():
if EvilTrackingParameter.get_or_none(EvilTrackingParameter.url == domain & EvilTrackingParameter.tracking_parameter == key):
if EvilTrackingParameter.get_or_none((EvilTrackingParameter.url == domain) & (EvilTrackingParameter.tracking_parameter == key)):
new_params.pop(key)
evil = True

Expand Down

0 comments on commit a2fff75

Please sign in to comment.