rust/chat_sanitizer/src/flood.rs
author Wuzzy <Wuzzy2@mail.ru>
Mon, 01 Apr 2019 18:49:08 +0200
changeset 14753 52916435d9b1
parent 14524 831ecafd74c6
permissions -rw-r--r--
Fix right limit of piano placement in bounce world edge It was slightly beyond the right bounce edge.

use crate::{MessageChecker, Severity};

struct FloodChecker {}

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