mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 16:23:21 +00:00
chore(cache): clear the cache before filling it
Closes https://github.com/FXServer-ESX/fxserver-esx_whitelist/issues/2
This commit is contained in:
@@ -5,6 +5,8 @@ function loadWhiteList ()
|
|||||||
'SELECT * FROM whitelist',
|
'SELECT * FROM whitelist',
|
||||||
{},
|
{},
|
||||||
function (identifiers)
|
function (identifiers)
|
||||||
|
Whitelist = {}
|
||||||
|
|
||||||
for i=1, #identifiers, 1 do
|
for i=1, #identifiers, 1 do
|
||||||
table.insert(WhiteList, tostring(identifiers[i].identifier))
|
table.insert(WhiteList, tostring(identifiers[i].identifier))
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user