changeset 934 | 15e2c4fd26a0 |
parent 852 | 6c2b77f97e62 |
child 1017 | 28e3257d2ae5 |
--- a/mod_pastebin/mod_pastebin.lua Sun Mar 24 23:58:40 2013 +0100 +++ b/mod_pastebin/mod_pastebin.lua Mon Mar 25 00:40:17 2013 +0100 @@ -9,7 +9,7 @@ local utf8_pattern = "[\194-\244][\128-\191]*$"; local function drop_invalid_utf8(seq) local start = seq:byte(); - module:log("utf8: %d, %d", start, #seq); + module:log("debug", "utf8: %d, %d", start, #seq); if (start <= 223 and #seq < 2) or (start >= 224 and start <= 239 and #seq < 3) or (start >= 240 and start <= 244 and #seq < 4)