rust/chat_sanitizer/src/flood.rs
author Wuzzy <Wuzzy2@mail.ru>
Tue, 09 Apr 2019 00:45:14 +0200
changeset 14778 bbec6b28d072
parent 14503 831ecafd74c6
permissions -rw-r--r--
Fix bugs when entering speech bubble commands during hog placement phase

use crate::{MessageChecker, Severity};

struct FloodChecker {}

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