mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-09 16:50:01 +00:00
Fix: Do not break all rules, just the current one
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
7c75e94ade
commit
aa547d137f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue