mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-30 17:01:29 +00:00
fix: HashString gsub function
This commit is contained in:
@@ -151,7 +151,7 @@ ESX.HashString = function(str)
|
||||
local gsub = string.gsub
|
||||
local hash = joaat(str)
|
||||
local input_map = format("~INPUT_%s~", upper(format("%x", hash)))
|
||||
input_map = string.gsub(input_map, "FFFFFFFF", "")
|
||||
input_map = gsub(input_map, "FFFFFFFF", "")
|
||||
|
||||
return input_map
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user