mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
parent
0e0a75de4e
commit
d3b3e21720
2 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue