From 423a714ffffc2e2ceeadfcab8b532df3833aa233 Mon Sep 17 00:00:00 2001 From: Hion-V Date: Sun, 19 Jun 2022 01:47:03 +0200 Subject: [PATCH] Update ccpt changed outdated call io.close(f) to f.close() --- ccpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccpt b/ccpt index 6ac0145..4456f28 100644 --- a/ccpt +++ b/ccpt @@ -26,7 +26,7 @@ removed = 0 function file_exists(filepath) local f=io.open(filepath,"r") if f~=nil then - io.close(f) + f.close() return true else return false