aboutsummaryrefslogtreecommitdiffstats
path: root/util/array.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-10-19 13:31:00 +0100
committerMatthew Wild <mwild1@gmail.com>2018-10-19 13:31:00 +0100
commitfbb11b868f8a454d926a39380a027d70102daade (patch)
treec2545da2023c05fdc204b0c3e4e9baa2ed68d668 /util/array.lua
parent49c68478375cbb8540130e52021350e676cf7ad6 (diff)
downloadprosody-fbb11b868f8a454d926a39380a027d70102daade.tar.gz
prosody-fbb11b868f8a454d926a39380a027d70102daade.zip
util.array: Break long line
Diffstat (limited to 'util/array.lua')
-rw-r--r--util/array.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/util/array.lua b/util/array.lua
index 4eb10f22..c6352de5 100644
--- a/util/array.lua
+++ b/util/array.lua
@@ -19,7 +19,11 @@ local type = type;
local array = {};
local array_base = {};
local array_methods = {};
-local array_mt = { __index = array_methods, __name = "array", __tostring = function (self) return "{"..self:concat(", ").."}"; end };
+local array_mt = {
+ __index = array_methods;
+ __name = "array";
+ __tostring = function (self) return "{"..self:concat(", ").."}"; end;
+};
function array_mt:__freeze() return self; end