X-Git-Url: https://plomlompom.com/repos/?p=plomlombot-irc.git;a=blobdiff_plain;f=plomsearch.py;h=fc5665fa24bfc3c402a2eea11cbcfd4839ad780d;hp=54eacbb83adfe1df1ed3e2c4d14d30dd07035828;hb=52643801d3b5e39b5728d9f953614bb85b7cdfda;hpb=e86511d9bf5c47d33e1ca05902611e9fab293c16 diff --git a/plomsearch.py b/plomsearch.py index 54eacbb..fc5665f 100644 --- a/plomsearch.py +++ b/plomsearch.py @@ -204,7 +204,7 @@ def search(query, string_list): def testStringMatchLogic(statement, compare_value): if type(statement) == str: - statement_true = statement in compare_value + statement_true = statement.lower() in compare_value.lower() elif type(statement) == CompoundStatement: or_list_true = False if len(statement.or_list) > 1: