From 905c6b649521296bba609db5b5c9a39008d34325 Mon Sep 17 00:00:00 2001 From: troido Date: Thu, 16 Apr 2020 10:54:23 +0200 Subject: add visit whitelist to homeportal, save and dedup its data even though it is loaded from template --- src/components/interactable.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/interactable.rs') diff --git a/src/components/interactable.rs b/src/components/interactable.rs index 3432f33..f1f0508 100644 --- a/src/components/interactable.rs +++ b/src/components/interactable.rs @@ -65,7 +65,7 @@ impl Interactable { } Visit(_) => { if let Some(txt) = arg { - txt.starts_with("visit") + txt.starts_with("visit ") || txt.starts_with("disallow ") || txt.starts_with("allow ") || txt.starts_with("whitelist") } else { false } -- cgit