Removed deprecate variable

This commit is contained in:
Foereaper
2021-07-18 02:45:09 +02:00
parent 73acd33579
commit a0903ea183
2 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@ local function GenerateReqId()
return reqId
end
local function ParseMessage(prefix, str)
local function ParseMessage(str)
local output = {}
local valTemp = {}
local typeTemp = {}
@ -252,7 +252,7 @@ function SMH.OnDAT(sender, data)
if(sizeOfDataCache == reqTable.count) then
-- Concatenate the cache and parse the full payload for function variables to return
local fullPayload = table.concat(reqTable.data);
local VarTable = ParseMessage(reqTable.addon, fullPayload)
local VarTable = ParseMessage(fullPayload)
-- Retrieve the function from global namespace and pass variables if it exists
local func = SMH[reqTable.addon][reqTable.funcId]