rust/chat_sanitizer/src/flood.rs
author Wuzzy <Wuzzy2@mail.ru>
Sun, 06 Jan 2019 01:21:16 +0100
changeset 14525 029f40c609b4
parent 14503 831ecafd74c6
permissions -rw-r--r--
Display team records in training menu

use crate::{MessageChecker, Severity};

struct FloodChecker {}

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