Added rule check

This commit is contained in:
M66B
2019-05-22 09:01:25 +02:00
parent 15e56bdbbb
commit 4b832db3fc
7 changed files with 362 additions and 1 deletions

View File

@@ -152,7 +152,7 @@ public class EntityRule {
}
JSONObject jheader = jcondition.optJSONObject("header");
if (jheader != null) {
if (jheader != null && imessage != null) {
String value = jheader.getString("value");
boolean regex = jheader.getBoolean("regex");