diff --git a/src/modules/commands/download.lua b/src/modules/commands/download.lua index ba92f74..b9d90c9 100644 --- a/src/modules/commands/download.lua +++ b/src/modules/commands/download.lua @@ -20,7 +20,7 @@ function split(s,d) end function clearTmp() - for file in io.popen([[dir "./tmp" /b]]):lines() do os.remove('./tmp/'..file) end + for file in io.popen([[dir "./tmp" /b]]):lines() do if file then os.remove('./tmp/'..file) end end end commands:Add('yt',{},"wip", function(t) diff --git a/src/modules/commands/skillCalc.lua b/src/modules/commands/skillCalc.lua index ec19238..582e2ea 100644 --- a/src/modules/commands/skillCalc.lua +++ b/src/modules/commands/skillCalc.lua @@ -52,26 +52,28 @@ commands:Add('skill',{},'skill