rust/chat_sanitizer/src/caps_abuse.rs
author Wuzzy <Wuzzy2@mail.ru>
Tue, 14 May 2019 22:42:19 +0200
changeset 14953 f27f00fabc0d
parent 14508 831ecafd74c6
permissions -rw-r--r--
Don't use Str2PChar twice in a row

use crate::{MessageChecker, Severity};

struct CapsAbuseChecker {}

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