rust/chat_sanitizer/src/url.rs
author Wuzzy <Wuzzy2@mail.ru>
Mon, 21 Jan 2019 20:06:25 +0100
changeset 14651 7dbf528ed6a0
parent 14503 831ecafd74c6
permissions -rw-r--r--
Portal mission: Don't allow enemies to walk

use crate::{MessageChecker, Severity};

struct URLChecker {}

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