diff options
author | Waqas Hussain <waqas20@gmail.com> | 2013-05-06 19:42:54 -0400 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2013-05-06 19:42:54 -0400 |
commit | 0eda0f3a3ca24e2d94f4915425380d729a7d4d17 (patch) | |
tree | 564fce415bee6b928794c49068fe7c31c9c352f2 | |
parent | 7cb65e7be049228131e07e51026c707fca593b80 (diff) | |
download | prosody-0eda0f3a3ca24e2d94f4915425380d729a7d4d17.tar.gz prosody-0eda0f3a3ca24e2d94f4915425380d729a7d4d17.zip |
util.json: Fix variable name typo which broke util.json when util.array was missing.
-rw-r--r-- | util/json.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/json.lua b/util/json.lua index 6251af1a..67276765 100644 --- a/util/json.lua +++ b/util/json.lua @@ -17,7 +17,7 @@ local newproxy, getmetatable = newproxy, getmetatable; local print = print; local has_array, array = pcall(require, "util.array"); -local array_mt = hasarray and getmetatable(array()) or {}; +local array_mt = has_array and getmetatable(array()) or {}; --module("json") local json = {}; |