# HG changeset patch # User Matthew Wild # Date 1324294686 0 # Node ID c819365ac6abc320e4bf70fd25e813c690b111d1 # Parent 928fe4d91333c64be39770674dd68db2bddc998f mod_pastebin: Fix call to undefined function introduced in previous commit diff -r 928fe4d91333 -r c819365ac6ab mod_pastebin/mod_pastebin.lua --- 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