rust/chat_sanitizer/src/flood.rs
author Wuzzy <Wuzzy2@mail.ru>
Mon, 15 Apr 2019 22:00:20 +0200
changeset 14826 af0f06b77908
parent 14524 831ecafd74c6
permissions -rw-r--r--
Remove outdated main menu tip

use crate::{MessageChecker, Severity};

struct FloodChecker {}

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