Skip to content

Commit

Permalink
fix discord ui script history
Browse files Browse the repository at this point in the history
  • Loading branch information
mjkzy committed Dec 17, 2023
1 parent 1d2fccd commit 581b60d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion data/cdata/ui_scripts/discord/__init__.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ local container = LUI.UIVerticalList.new({
spacing = 5
})

history = {}

function canasktojoin(userid)
history = history or {}
if (history[userid] ~= nil) then
return false
end
Expand Down

0 comments on commit 581b60d

Please sign in to comment.