From 8fc1f7efc9bcafd8d90793cd538de655ff12ac2c Mon Sep 17 00:00:00 2001 From: Robert McLay Date: Thu, 21 Oct 2021 13:32:08 -0500 Subject: [PATCH] switch joinBase64Results to use declare() --- proj_mgmt/joinBase64Results | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/proj_mgmt/joinBase64Results b/proj_mgmt/joinBase64Results index 7478420f2..166bbe8ea 100755 --- a/proj_mgmt/joinBase64Results +++ b/proj_mgmt/joinBase64Results @@ -69,6 +69,7 @@ pack = (_VERSION == "Lua 5.1") and argsPack or table.pack require("string_utils") require("serializeTbl") +require("declare") local s_name = "_ModuleTable_" local base64 = require("base64") local cosmic = require("Cosmic"):singleton() @@ -103,7 +104,8 @@ local function grabFish(line,b) end -_ModuleTable_ = false + +declare("_ModuleTable_",false) function fixMT(s) if (s == nil) then return "" end local func, msg = load(s)