rust/chat_sanitizer/src/part_repeat.rs
author Wuzzy <Wuzzy@disroot.org>
Mon, 19 Jun 2023 14:09:37 +0200
changeset 15990 79b1129b4d03
parent 14524 831ecafd74c6
permissions -rw-r--r--
Fix game freezing if Format arg contains '%1', '%2', etc. (bug #851)

use crate::{MessageChecker, Severity};

struct PartRepeatChecker {}

impl<T> MessageChecker<T> for PartRepeatChecker {
    fn check(&self, player_id: T, message: &str) -> Severity {
        Severity::Pass
    }
}