ɴᴏᴏʙ - ᴍᴜᴋᴇsʜ commited on
Commit
87ff2e2
·
1 Parent(s): 5f6b329

fixed locktype issue

Browse files
Files changed (1) hide show
  1. Powers/database/locks_db.py +1 -1
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["anti_links"] == "anti_links":
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