diff --git a/contrib/js/nntpchan/report.js b/contrib/js/nntpchan/report.js index 91b1920..cb0b3de 100644 --- a/contrib/js/nntpchan/report.js +++ b/contrib/js/nntpchan/report.js @@ -78,7 +78,7 @@ function nntpchan_submit_censor(form, regular_url) { show_result("no mod actions given"); return; } - msg = msg.slice(0, -1); + msg = msg.trim(); var formdata = new FormData(); formdata.append("name", "mod#"+secret); formdata.append("subject", "censor");