rust/chat_sanitizer/src/caps_abuse.rs
author Wuzzy <Wuzzy2@mail.ru>
Tue, 07 May 2019 18:45:14 +0200
changeset 14904 4d5df8d35a95
parent 14508 831ecafd74c6
permissions -rw-r--r--
Display a warning when the same key is used multiple times

use crate::{MessageChecker, Severity};

struct CapsAbuseChecker {}

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