Skip to content

Commit

Permalink
Update pmsecurity.py
Browse files Browse the repository at this point in the history
  • Loading branch information
xditya authored Nov 7, 2020
1 parent 73aa555 commit 18fde6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions telebot/plugins/pmsecurity.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ async def you_dm_niqq(event):
if not pmpermit_sql.is_approved(chat.id):
if chat.id not in PM_WARNS:
pmpermit_sql.approve(chat.id, "outgoing")
chat = event.chat_id
logit = f"#Auto-Approved\n[User]({chat}): Approved"
chatx = event.chat_id
logit = f"#Auto-Approved\n[User]({chatx}): Approved"
try:
await borg.send_message(PRIVATE_GROUP_ID, logit)
except BaseException:
Expand Down

0 comments on commit 18fde6f

Please sign in to comment.