From 4215193af9da719fbb9a0c9b6975be85cd9248c6 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Thu, 14 Aug 2014 11:56:11 -0700 Subject: [PATCH] Update worker.go --- server/worker/worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/worker/worker.go b/server/worker/worker.go index c2bbae59..f4b477c9 100644 --- a/server/worker/worker.go +++ b/server/worker/worker.go @@ -134,7 +134,7 @@ func (w *worker) Execute(r *model.Request) { } // send all "started" notifications - if script.Notifications != nil { + if script.Notifications == nil { script.Notifications = ¬ify.Notification{} } script.Notifications.Send(r)