Added check to avoid review file append if only one user.
This commit is contained in:
parent
7e905380f8
commit
64dbe8bcf3
@ -407,7 +407,10 @@ public class Hebdobot extends PircBot
|
||||
sendMessage("% " + ReviewStatsReporter.reportUserCount(datas, currentReview.getUserCount()));
|
||||
sendMessage("% " + ReviewStatsReporter.reportDuration(datas, currentReview.getUserCount()));
|
||||
|
||||
ReviewDatasFile.append(reviewDataFile, currentReview);
|
||||
if (this.review.getParticipants().size() > 1)
|
||||
{
|
||||
ReviewDatasFile.append(reviewDataFile, currentReview);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user