Skip to content

Commit

Permalink
item_flagged is not a switch
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jan 13, 2021
1 parent 91bca2b commit ef5351d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -155,7 +155,7 @@ public ScriptPath(ScriptContainer container, String event, String rawEventPath)
List<String> eventLabel = new ArrayList<>();
for (String possible : CoreUtilities.split(event, ' ').toArray(new String[0])) {
List<String> split = CoreUtilities.split(possible, ':', 2);
if (split.size() > 1 && !CoreUtilities.equalsIgnoreCase(split.get(0), "regex")) {
if (split.size() > 1 && !CoreUtilities.equalsIgnoreCase(split.get(0), "regex") && !CoreUtilities.equalsIgnoreCase(split.get(0), "item_flagged")) {
switches.put(CoreUtilities.toLowerCase(split.get(0)), split.get(1));
}
else {
Expand Down

0 comments on commit ef5351d

Please sign in to comment.