Software /
code /
prosody-modules
Changeset
934:15e2c4fd26a0
mod_pastebin: Fix invalid debug statement
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 25 Mar 2013 00:40:17 +0100 |
parents | 933:5a975ba6a845 |
children | 935:f66a08f208ad |
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 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)