From a0903ea18348db63070663ff471f143fdae5bf50 Mon Sep 17 00:00:00 2001 From: Foereaper Date: Sun, 18 Jul 2021 02:45:09 +0200 Subject: [PATCH] Removed deprecate variable --- Client/CMH.lua | 4 ++-- Server/SMH.lua | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Client/CMH.lua b/Client/CMH.lua index 6fea3ed..11a767b 100644 --- a/Client/CMH.lua +++ b/Client/CMH.lua @@ -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] diff --git a/Server/SMH.lua b/Server/SMH.lua index 0f2ca4d..a5b3518 100644 --- a/Server/SMH.lua +++ b/Server/SMH.lua @@ -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]