rust/chat_sanitizer/src/flood.rs
author unc0rr
Sat, 12 Oct 2019 23:13:32 +0200
changeset 15474 e0ab70a90718
parent 14503 831ecafd74c6
permissions -rw-r--r--
Add utility to convert server-side replay files into hwd binary format

use crate::{MessageChecker, Severity};

struct FloodChecker {}

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