Mercurial > prosody-modules
changeset 3430:6e70d354b7d8
mod_measure_message_length: Use measure type that actually exists
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 04 Jan 2019 03:14:55 +0100 |
parents | 1f0c290bd28a |
children | 8357cabc31f6 |
files | mod_measure_message_length/mod_measure_message_length.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_measure_message_length/mod_measure_message_length.lua Thu Jan 03 16:07:31 2019 +0100 +++ b/mod_measure_message_length/mod_measure_message_length.lua Fri Jan 04 03:14:55 2019 +0100 @@ -1,6 +1,6 @@ local bytes = module:measure("bytes", "sizes"); -local lines = module:measure("lines", "count"); -local words = module:measure("words", "count"); +local lines = module:measure("lines", "distribution"); +local words = module:measure("words", "distribution"); local function measure_length(event) local body = event.stanza:get_child_text("body");