rust/chat_sanitizer/src/flood.rs
author Wuzzy <Wuzzy2@mail.ru>
Fri, 19 Apr 2019 18:01:49 +0200
changeset 14816 33e44ff225c6
parent 14503 831ecafd74c6
permissions -rw-r--r--
Add yuenfu to credits for Chinese translation

use crate::{MessageChecker, Severity};

struct FloodChecker {}

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