Remove unnecessary variable defines

This commit is contained in:
Foereaper
2021-07-21 17:01:33 +02:00
parent 98a08522c5
commit 0fa8512617
2 changed files with 0 additions and 6 deletions

View File

@ -7,9 +7,6 @@ local pck = {REQ = 1, DAT = 2}
-- HELPERS START
local function debugOut(prefix, x, msg)
prefix = prefix or ""
msg = msg or ""
x = x or ""
if(debug == true) then
print("["..date("%X", time()).."][CSMH]["..x.."]["..prefix.."]: "..msg)
end

View File

@ -9,9 +9,6 @@ local pck = {REQ = 1, DAT = 2}
-- HELPERS START
local function debugOut(prefix, x, msg)
prefix = prefix or ""
msg = msg or ""
x = x or ""
if(debug == true) then
print("["..os.clock().."][CSMH]["..x.."]["..prefix.."]: "..msg)
end