rust/chat_sanitizer/src/flood.rs
author Wuzzy <Wuzzy2@mail.ru>
Mon, 01 Apr 2019 17:33:43 +0200
changeset 14730 5631c81217dc
parent 14503 831ecafd74c6
permissions -rw-r--r--
Update locale files

use crate::{MessageChecker, Severity};

struct FloodChecker {}

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