This commit is contained in:
M66B 2019-06-07 17:32:30 +02:00
parent b4fbf80141
commit d70517cdfe
2 changed files with 2 additions and 2 deletions

View File

@ -1548,7 +1548,7 @@ class Core {
try {
for (EntityRule rule : rules)
if (rule.matches(context, message, imessage)) {
rule.execute(context, db, message);
rule.execute(context, message);
if (rule.stop)
break;
}

View File

@ -196,7 +196,7 @@ public class EntityRule {
return matched;
}
void execute(Context context, DB db, EntityMessage message) throws IOException {
void execute(Context context, EntityMessage message) throws IOException {
try {
JSONObject jaction = new JSONObject(action);
int type = jaction.getInt("type");