Removed deprecate variable
This commit is contained in:
@ -25,7 +25,7 @@ local function GenerateReqId()
|
||||
return reqId
|
||||
end
|
||||
|
||||
local function ParseMessage(prefix, str)
|
||||
local function ParseMessage(str)
|
||||
local output = {}
|
||||
local valTemp = {}
|
||||
local typeTemp = {}
|
||||
@ -241,7 +241,7 @@ function CMH.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 = CMH[reqTable.addon][reqTable.funcId]
|
||||
|
||||
@ -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]
|
||||
|
||||
Reference in New Issue
Block a user