diff --git a/internal/actors/respond/actor.go b/internal/actors/respond/actor.go index a264a45..d130d69 100644 --- a/internal/actors/respond/actor.go +++ b/internal/actors/respond/actor.go @@ -76,7 +76,7 @@ type actor struct{} func (a actor) Execute(c *irc.Client, m *irc.Message, r *plugins.Rule, eventData plugins.FieldCollection, attrs plugins.FieldCollection) (preventCooldown bool, err error) { msg, err := formatMessage(attrs.MustString("message", nil), m, r, eventData) if err != nil { - if !attrs.CanString("fallback") { + if !attrs.CanString("fallback") || attrs.MustString("fallback", nil) == "" { return false, errors.Wrap(err, "preparing response") } if msg, err = formatMessage(attrs.MustString("fallback", nil), m, r, eventData); err != nil {