rust/chat_sanitizer/src/flood.rs
author Wuzzy <Wuzzy2@mail.ru>
Sat, 15 Jun 2019 03:27:06 +0200
changeset 15163 d97f0b96e45f
parent 14524 831ecafd74c6
permissions -rw-r--r--
Restrict object placement between leftX and rightX

use crate::{MessageChecker, Severity};

struct FloodChecker {}

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