Mercurial > prosody-modules
diff mod_pastebin/mod_pastebin.lua @ 934:15e2c4fd26a0
mod_pastebin: Fix invalid debug statement
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 25 Mar 2013 00:40:17 +0100 |
parents | 6c2b77f97e62 |
children | 28e3257d2ae5 |
line wrap: on
line diff
--- 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)