From 263a32094c393913e5bee149c38d65089983c5d7 Mon Sep 17 00:00:00 2001 From: "kepler155c@gmail.com" Date: Fri, 12 Apr 2019 09:31:28 -0400 Subject: [PATCH] pastebin oops --- sys/apis/http/pastebin.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/apis/http/pastebin.lua b/sys/apis/http/pastebin.lua index 89676ba..a6cf60b 100644 --- a/sys/apis/http/pastebin.lua +++ b/sys/apis/http/pastebin.lua @@ -20,7 +20,7 @@ end -- Download the contents of a paste local function download(code) - if type(url) ~= "string" then + if type(code) ~= "string" then error("bad argument #1 (expected string, got " .. type(code) .. ")", 2) end