rust/chat_sanitizer/src/caps_abuse.rs
author unc0rr
Fri, 26 Apr 2019 23:21:27 +0200
changeset 14862 111c4d750c6d
parent 14524 831ecafd74c6
permissions -rw-r--r--
Limit room name change rate

use crate::{MessageChecker, Severity};

struct CapsAbuseChecker {}

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