From 4cb003f048446f3f2f58cd97d93212c3876bfa45 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sun, 23 Jun 2019 15:21:25 +0300 Subject: [PATCH] Simplify linux not_matches in stallman sample --- samples/stallman.yaml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/samples/stallman.yaml b/samples/stallman.yaml index edfc194..b1a1376 100644 --- a/samples/stallman.yaml +++ b/samples/stallman.yaml @@ -10,16 +10,20 @@ templates: default_flags: - ignorecase +antispam: + room: + max: 1 + delay: 60 + user: + max: 2 + delay: 60 + rules: linux: matches: - linux not_matches: - - pattern: gnu+linux - raw: true - - pattern: gnu/linux - raw: true - - gnu plus linux + - gnu - kernel template: plaintext_notice variables: