From 509aee3849892bacadb4809d7a0f03541a9cedae Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 11 Oct 2018 23:00:45 +0200 Subject: util.serialization: Use '=' prefix for chunk source description Like in bd5e4485a245 --- util/serialization.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/serialization.lua b/util/serialization.lua index cc230238..f7f129b2 100644 --- a/util/serialization.lua +++ b/util/serialization.lua @@ -262,7 +262,7 @@ end local function deserialize(str) if type(str) ~= "string" then return nil; end str = "return "..str; - local f, err = envload(str, "@data", {}); + local f, err = envload(str, "=serialized data", {}); if not f then return nil, err; end local success, ret = pcall(f); if not success then return nil, ret; end -- cgit v1.2.3