summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/pm.lua b/pm.lua
index ff2bef6..5fed3d0 100644
--- a/pm.lua
+++ b/pm.lua
@@ -1,5 +1,5 @@
local function dl(filename)
- local file=fs.open("/"..filename..".lua")
+ local file=fs.open("/"..filename..".lua","w")
local res = http.get("https://g.gh0.pw/ccprogs/plain/"..filename..".lua")
file.write(res.readAll())
end