Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikoh77 committed Feb 19, 2024
1 parent 3080242 commit f862846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shinogramma.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ async def monitors_subcommand(
for choice in choices:
var = f"BANS_DO_{choice}".upper()
if var in globals().keys():
if chat_id not in globals()[var]:
if chat_id in globals()[var]:
continue
# else:
buttons.append(
Expand Down

0 comments on commit f862846

Please sign in to comment.