rust/chat_sanitizer/src/flood.rs
author Wuzzy <Wuzzy2@mail.ru>
Wed, 09 Oct 2019 20:11:57 +0200
changeset 15452 1d3369a843c8
parent 14503 831ecafd74c6
permissions -rw-r--r--
Move 1.0.0-release tag to tip

use crate::{MessageChecker, Severity};

struct FloodChecker {}

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