rust/chat_sanitizer/src/flood.rs
author unc0rr
Thu, 27 Dec 2018 23:43:54 +0100
changeset 14524 831ecafd74c6
permissions -rw-r--r--
Start chat_sanitizer package inspired by chat bot on pokerth server

use crate::{MessageChecker, Severity};

struct FloodChecker {}

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