rust/chat_sanitizer/src/flood.rs
author nemo
Mon, 12 Sep 2022 18:36:39 -0400
branch1.0.0
changeset 15890 39051294d1fb
parent 14524 831ecafd74c6
permissions -rw-r--r--
I keep forgetting to bump the patch version

use crate::{MessageChecker, Severity};

struct FloodChecker {}

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