Software /
code /
prosody-modules
Changeset
512:c819365ac6ab
mod_pastebin: Fix call to undefined function introduced in previous commit
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 19 Dec 2011 11:38:06 +0000 |
parents | 511:928fe4d91333 |
children | 513:5e8843a869a3 |
files | mod_pastebin/mod_pastebin.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_pastebin/mod_pastebin.lua Mon Dec 19 10:40:28 2011 +1100 +++ b/mod_pastebin/mod_pastebin.lua Mon Dec 19 11:38:06 2011 +0000 @@ -84,7 +84,7 @@ if body and ( ((#body > length_threshold) - and (length_utf8(body) > length_threshold)) or + and (utf8_length(body) > length_threshold)) or (trigger_string and body:find(trigger_string, 1, true) == 1) or (select(2, body:gsub("\n", "%0")) >= line_threshold) ) then