Spaces:
Paused
Paused
ɴᴏᴏʙ - ᴍᴜᴋᴇsʜ
commited on
Commit
·
83c52c0
1
Parent(s):
1bffeed
fixed locktype issue
Browse files
Powers/database/locks_db.py
CHANGED
|
@@ -92,7 +92,7 @@ class LOCKS(MongoDB):
|
|
| 92 |
to_return["anti_fwd"]["user"] = True
|
| 93 |
elif i["locktype"] == "anti_fwd_c":
|
| 94 |
to_return["anti_fwd"]["chat"] = True
|
| 95 |
-
elif i["
|
| 96 |
to_return["anti_links"] = True
|
| 97 |
elif i["locktype"] == "bot":
|
| 98 |
to_return["bot"] = True
|
|
|
|
| 92 |
to_return["anti_fwd"]["user"] = True
|
| 93 |
elif i["locktype"] == "anti_fwd_c":
|
| 94 |
to_return["anti_fwd"]["chat"] = True
|
| 95 |
+
elif i["locktype"] == "anti_links":
|
| 96 |
to_return["anti_links"] = True
|
| 97 |
elif i["locktype"] == "bot":
|
| 98 |
to_return["bot"] = True
|