summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2022-06-27 22:50:20 +0100
committerubq323 <ubq323@ubq323.website>2022-06-27 22:50:20 +0100
commitaad419329b046a12882a117f6ccf2a138a9dc8f2 (patch)
tree9e0b17607f1c624f04f78980de0ac2b3b4f6951f
parent65fcf654a30e2a33b5c9d04ce58ac884ee65b9cc (diff)
pm
-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