Spaces:
Paused
Paused
Captain Ezio
commited on
Commit
·
04a7549
1
Parent(s):
d7366b6
Update locks.py
Browse files- Powers/plugins/locks.py +1 -1
Powers/plugins/locks.py
CHANGED
|
@@ -491,7 +491,7 @@ async def lock_del_mess(c:Gojo, m: Message):
|
|
| 491 |
if m.chat.id not in all_chats:
|
| 492 |
return
|
| 493 |
if m.sender_chat and not (m.forward_from_chat or m.forward_from):
|
| 494 |
-
if m.sender_chat == m.chat.id:
|
| 495 |
return
|
| 496 |
await delete_messages(c,m)
|
| 497 |
return
|
|
|
|
| 491 |
if m.chat.id not in all_chats:
|
| 492 |
return
|
| 493 |
if m.sender_chat and not (m.forward_from_chat or m.forward_from):
|
| 494 |
+
if m.sender_chat.id == m.chat.id:
|
| 495 |
return
|
| 496 |
await delete_messages(c,m)
|
| 497 |
return
|