From 9a18bea228626bc72fe7c32716fce5511633c2c2 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Wed, 13 Jun 2018 11:07:32 +0200 Subject: [PATCH] Changed IRC target user of complex statistics from all to review owner. --- src/org/april/hebdobot/model/Hebdobot.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/april/hebdobot/model/Hebdobot.java b/src/org/april/hebdobot/model/Hebdobot.java index 0716bc2..30de5fd 100644 --- a/src/org/april/hebdobot/model/Hebdobot.java +++ b/src/org/april/hebdobot/model/Hebdobot.java @@ -431,8 +431,8 @@ public class Hebdobot extends PircBot ReviewData currentReview = new ReviewData(LocalDateTime.now(), this.review.getParticipants().size(), (int) this.review.getDurationInMinutes()); datas.add(currentReview); - sendMessage("% " + ReviewStatsReporter.reportUserCount(datas, currentReview.getUserCount())); - sendMessage("% " + ReviewStatsReporter.reportDuration(datas, currentReview.getDuration())); + sendMessage(this.review.getOwner(), "% " + ReviewStatsReporter.reportUserCount(datas, currentReview.getUserCount())); + sendMessage(this.review.getOwner(), "% " + ReviewStatsReporter.reportDuration(datas, currentReview.getDuration())); if (this.review.getParticipants().size() > 1) {