diff options
author | Kim Alvefur <zash@zash.se> | 2020-10-12 21:29:20 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-10-12 21:29:20 +0200 |
commit | ab1977f889c6a1f8898cca4119d315c1c71a3b0e (patch) | |
tree | e4d006dc4649263aa45d6fb1ce4103abfc20a1e3 /util/dbuffer.lua | |
parent | fdb82bc5938bcd60b7578ed112b40166c237cbc9 (diff) | |
parent | 0e8366644db4f804a4ad2bf80959a6140da1b504 (diff) | |
download | prosody-ab1977f889c6a1f8898cca4119d315c1c71a3b0e.tar.gz prosody-ab1977f889c6a1f8898cca4119d315c1c71a3b0e.zip |
Merge 0.11->trunk
Diffstat (limited to 'util/dbuffer.lua')
-rw-r--r-- | util/dbuffer.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/dbuffer.lua b/util/dbuffer.lua index a50f3a64..9d58b306 100644 --- a/util/dbuffer.lua +++ b/util/dbuffer.lua @@ -135,6 +135,7 @@ end function dbuffer_methods:length() return self._length; end +dbuffer_methods.len = dbuffer_methods.length; -- strings have :len() dynamic_buffer_mt.__len = dbuffer_methods.length; -- support # operator function dbuffer_methods:collapse(bytes) |