diff options
author | Kim Alvefur <zash@zash.se> | 2018-10-11 23:00:45 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-10-11 23:00:45 +0200 |
commit | 509aee3849892bacadb4809d7a0f03541a9cedae (patch) | |
tree | ce3489540997a2fff6e83e05d5ecaa73398b4ce9 | |
parent | 9fbe7c93fad61b64d6131e4c4a04b3d83aca5640 (diff) | |
download | prosody-509aee3849892bacadb4809d7a0f03541a9cedae.tar.gz prosody-509aee3849892bacadb4809d7a0f03541a9cedae.zip |
util.serialization: Use '=' prefix for chunk source description
Like in bd5e4485a245
-rw-r--r-- | util/serialization.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |