Remove unnecessary variable defines
This commit is contained in:
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user