Changed IRC target user of complex statistics from all to review owner.
This commit is contained in:
parent
c87cbe2059
commit
9a18bea228
@ -431,8 +431,8 @@ public class Hebdobot extends PircBot
|
|||||||
ReviewData currentReview = new ReviewData(LocalDateTime.now(), this.review.getParticipants().size(),
|
ReviewData currentReview = new ReviewData(LocalDateTime.now(), this.review.getParticipants().size(),
|
||||||
(int) this.review.getDurationInMinutes());
|
(int) this.review.getDurationInMinutes());
|
||||||
datas.add(currentReview);
|
datas.add(currentReview);
|
||||||
sendMessage("% " + ReviewStatsReporter.reportUserCount(datas, currentReview.getUserCount()));
|
sendMessage(this.review.getOwner(), "% " + ReviewStatsReporter.reportUserCount(datas, currentReview.getUserCount()));
|
||||||
sendMessage("% " + ReviewStatsReporter.reportDuration(datas, currentReview.getDuration()));
|
sendMessage(this.review.getOwner(), "% " + ReviewStatsReporter.reportDuration(datas, currentReview.getDuration()));
|
||||||
|
|
||||||
if (this.review.getParticipants().size() > 1)
|
if (this.review.getParticipants().size() > 1)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user