diff --git a/src/judge.rs b/src/judge.rs index 68c53c9..5838992 100644 --- a/src/judge.rs +++ b/src/judge.rs @@ -96,13 +96,13 @@ impl Judgement { } let mut result = JudgementResult::LikelyScam; - if count_all == 0 { - result = JudgementResult::Ok - } if count_all < total { result = JudgementResult::MaybeScam } - + if count_all == 0 { + result = JudgementResult::Ok + } + // Send message let msg = RoomMessageEventContent::text_html( format!("{counter:?}, {count_all}/{total}, {result:?}"),