mirror of
https://github.com/ThePrimeagen/harpoon.git
synced 2025-07-17 19:40:23 +00:00
fix(data): mark list as seen if found in Harpoon:list()
This commit is contained in:
parent
515bdd0058
commit
10c79d8f4f
@ -51,6 +51,10 @@ function Harpoon:list(name)
|
|||||||
local existing_list = lists[name]
|
local existing_list = lists[name]
|
||||||
|
|
||||||
if existing_list then
|
if existing_list then
|
||||||
|
if not self.data.seen[key] then
|
||||||
|
self.data.seen[key] = {}
|
||||||
|
end
|
||||||
|
self.data.seen[key][name] = true
|
||||||
return existing_list
|
return existing_list
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user