rust/chat_sanitizer/src/letter_repeat.rs
author unc0rr
Thu, 27 Dec 2018 23:43:54 +0100
changeset 14503 831ecafd74c6
child 14505 ba29aa03db87
permissions -rw-r--r--
Start chat_sanitizer package inspired by chat bot on pokerth server

use crate::{MessageChecker, Severity};

struct LetterRepeatChecker {}

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