Software /
code /
prosody-modules
Diff
mod_measure_message_length/mod_measure_message_length.lua @ 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 |
parent | 2372:b1b120e654ff |
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");