rust/chat_sanitizer/src/flood.rs
author Wuzzy <Wuzzy2@mail.ru>
Fri, 11 Oct 2019 16:33:01 +0200
changeset 15467 e2a23c63efdb
parent 14508 831ecafd74c6
permissions -rw-r--r--
Add hi-res icons in hedgewars.ico

use crate::{MessageChecker, Severity};

struct FloodChecker {}

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