rust/chat_sanitizer/src/caps_abuse.rs
changeset 14503 831ecafd74c6
equal deleted inserted replaced
14502:abe0a561005e 14503:831ecafd74c6
       
     1 use crate::{MessageChecker, Severity};
       
     2 
       
     3 struct CapsAbuseChecker {}
       
     4 
       
     5 impl<T> MessageChecker<T> for CapsAbuseChecker {
       
     6     fn check(&self, player_id: T, message: &str) -> Severity {
       
     7         Severity::Pass
       
     8     }
       
     9 }