From aa547d137f713f49ff513cd51ce7f69f1a3b0a13 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 11 Sep 2021 20:04:47 +0200 Subject: [PATCH] Fix: Do not break all rules, just the current one Signed-off-by: Knut Ahlers --- actions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions.go b/actions.go index 5dbfc74..3c8f268 100644 --- a/actions.go +++ b/actions.go @@ -66,7 +66,7 @@ func handleMessage(c *irc.Client, m *irc.Message, event *string, eventData plugi apc, err := triggerActions(c, m, r, a, eventData) if err != nil { log.WithError(err).Error("Unable to trigger action") - return // Break execution when one action fails + break // Break execution when one action fails } preventCooldown = preventCooldown || apc }