rust/chat_sanitizer/src/flood.rs
changeset 14503 831ecafd74c6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rust/chat_sanitizer/src/flood.rs	Thu Dec 27 23:43:54 2018 +0100
@@ -0,0 +1,9 @@
+use crate::{MessageChecker, Severity};
+
+struct FloodChecker {}
+
+impl<T> MessageChecker<T> for FloodChecker {
+    fn check(&self, player_id: T, message: &str) -> Severity {
+        Severity::Pass
+    }
+}