mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 18:28:52 +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',
|
||||
{},
|
||||
function (identifiers)
|
||||
Whitelist = {}
|
||||
|
||||
for i=1, #identifiers, 1 do
|
||||
table.insert(WhiteList, tostring(identifiers[i].identifier))
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user