rust/chat_sanitizer/src/part_repeat.rs
author Wuzzy <Wuzzy2@mail.ru>
Mon, 07 Oct 2019 14:18:31 +0200
changeset 15447 6031c0cfec89
parent 14508 831ecafd74c6
permissions -rw-r--r--
Make sure AI doesn't skip after collecting ammo. Fixes bug #796

use crate::{MessageChecker, Severity};

struct PartRepeatChecker {}

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