From 9c15785c706c98b6a8e0b4a1a92707347da5928f Mon Sep 17 00:00:00 2001 From: osmarks Date: Sun, 12 Aug 2018 17:31:05 +0100 Subject: [PATCH] Actually use pcall correctly --- client.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.lua b/client.lua index b736c99..0739b3b 100644 --- a/client.lua +++ b/client.lua @@ -66,6 +66,6 @@ while true do print("Command", command, "not found.") end - local ok, result = pcall(fn(table.unpack(args))) + local ok, result = pcall(fn, table.unpack(args)) if result then textutils.pagedPrint(result) end end \ No newline at end of file