Changed IRC target user of complex statistics from all to review owner.

This commit is contained in:
Christian P. MOMON 2018-06-13 11:07:32 +02:00
parent c87cbe2059
commit 9a18bea228

View File

@ -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)
{