Remove unnecessary variable defines
This commit is contained in:
@ -7,9 +7,6 @@ local pck = {REQ = 1, DAT = 2}
|
|||||||
|
|
||||||
-- HELPERS START
|
-- HELPERS START
|
||||||
local function debugOut(prefix, x, msg)
|
local function debugOut(prefix, x, msg)
|
||||||
prefix = prefix or ""
|
|
||||||
msg = msg or ""
|
|
||||||
x = x or ""
|
|
||||||
if(debug == true) then
|
if(debug == true) then
|
||||||
print("["..date("%X", time()).."][CSMH]["..x.."]["..prefix.."]: "..msg)
|
print("["..date("%X", time()).."][CSMH]["..x.."]["..prefix.."]: "..msg)
|
||||||
end
|
end
|
||||||
|
|||||||
@ -9,9 +9,6 @@ local pck = {REQ = 1, DAT = 2}
|
|||||||
|
|
||||||
-- HELPERS START
|
-- HELPERS START
|
||||||
local function debugOut(prefix, x, msg)
|
local function debugOut(prefix, x, msg)
|
||||||
prefix = prefix or ""
|
|
||||||
msg = msg or ""
|
|
||||||
x = x or ""
|
|
||||||
if(debug == true) then
|
if(debug == true) then
|
||||||
print("["..os.clock().."][CSMH]["..x.."]["..prefix.."]: "..msg)
|
print("["..os.clock().."][CSMH]["..x.."]["..prefix.."]: "..msg)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user