mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
fix invalidation (#1945)
This commit is contained in:
parent
5eeadc6399
commit
cf371e8093
@ -635,7 +635,7 @@ class Permissions:
|
||||
stil_valid = [
|
||||
(k, v) for k, v in self.cache.items() if not any(obj in k for obj in to_invalidate)
|
||||
]
|
||||
self.cache = LRUDict(*stil_valid, size=self.cache.size)
|
||||
self.cache = LRUDict(stil_valid, size=self.cache.size)
|
||||
|
||||
def find_object_uniquely(self, info: str) -> int:
|
||||
"""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user