From 5bbf2b95a064f24cad78123698c25dfad6f2e8f8 Mon Sep 17 00:00:00 2001 From: Thorsten Date: Sat, 28 Nov 2015 15:13:41 +0100 Subject: [PATCH] recognize bots even better --- plugins.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins.py b/plugins.py index 563fc8f..582d851 100644 --- a/plugins.py +++ b/plugins.py @@ -963,7 +963,11 @@ def provoke_bots(argv, **args): @pluginfunction("recognize_bots", "got ya", ptypes_PARSE) def recognize_bots(**args): - if 'independent bot and have nothing to do with other artificial intelligence systems' in args['data']: + unique_standard_phrases = ( + 'independent bot and have nothing to do with other artificial intelligence systems', + 'new Debian Security Announce', + ) + if any([phrase in args['data'] for phrase in unique_standard_phrases]): blob = conf_load()