rust/chat_sanitizer/src/flood.rs
author Wuzzy <Wuzzy2@mail.ru>
Thu, 17 Jan 2019 00:10:24 +0100
changeset 14621 eb5ed9ead151
parent 14503 831ecafd74c6
permissions -rw-r--r--
Update changelog

use crate::{MessageChecker, Severity};

struct FloodChecker {}

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