Prevent loop

This commit is contained in:
M66B 2021-07-29 10:33:06 +02:00
parent 1e2e6e60f7
commit c8847fd802
1 changed files with 2 additions and 1 deletions

View File

@ -3794,7 +3794,8 @@ class Core {
if (rule.stop)
break;
}
if (executed)
if (executed &&
!message.hasKeyword(MessageHelper.FLAG_FILTERED))
EntityOperation.queue(context, message, EntityOperation.KEYWORD, MessageHelper.FLAG_FILTERED, true);
} catch (Throwable ex) {
Log.e(ex);