diff --git a/modules/mod/src/main/ui/ModUserUi.scala b/modules/mod/src/main/ui/ModUserUi.scala index 2d5f06e19fafe..5223c7d4bc379 100644 --- a/modules/mod/src/main/ui/ModUserUi.scala +++ b/modules/mod/src/main/ui/ModUserUi.scala @@ -174,7 +174,7 @@ final class ModUserUi(helpers: Helpers, modUi: ModUi): Granter.opt(_.ReportBan).option { postForm( action := routes.Mod.reportban(u.username, !u.marks.reportban), - title := "Enable/disable the boost/cheat report feature for this user.", + title := "Enable/disable the report feature for this user.", cls := "xhr" )( submitButton(cls := List("btn-rack__btn" -> true, "active" -> u.marks.reportban))("Reportban") diff --git a/modules/report/src/main/ReportApi.scala b/modules/report/src/main/ReportApi.scala index 4acd9658a15e6..b9c0e6d69cd76 100644 --- a/modules/report/src/main/ReportApi.scala +++ b/modules/report/src/main/ReportApi.scala @@ -49,8 +49,7 @@ final class ReportApi( Reason(data.reason).exists(Reason.autoBlock) def create(c: Candidate, score: Report.Score => Report.Score = identity): Funit = - val ignoreReport = c.reporter.user.marks.reportban && !c.reason.isComm - (!ignoreReport && !isAlreadySlain(c)).so { + (!c.reporter.user.marks.reportban && !isAlreadySlain(c)).so { scorer(c).map(_.withScore(score)).flatMap { case scored @ Candidate.Scored(candidate, _) => for prev <- coll.one[Report]: