# HG changeset patch # User Kim Alvefur # Date 1364168417 -3600 # Node ID 15e2c4fd26a0dd9ea016c6affa25d6d47fd3c5b9 # Parent 5a975ba6a845baa555e77c6f350955153cc0d23e mod_pastebin: Fix invalid debug statement diff -r 5a975ba6a845 -r 15e2c4fd26a0 mod_pastebin/mod_pastebin.lua --- 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)