about summary refs log tree commit diff
path: root/fun/clbot
diff options
context:
space:
mode:
Diffstat (limited to 'fun/clbot')
-rw-r--r--fun/clbot/clbot.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/fun/clbot/clbot.go b/fun/clbot/clbot.go
index ee250f706c8c..c259987a52d2 100644
--- a/fun/clbot/clbot.go
+++ b/fun/clbot/clbot.go
@@ -254,11 +254,7 @@ func main() {
 				url := patchSetURL(e.Change, e.PatchSet)
 
 				if submitter != owner && submitter == "clbot" {
-					// Ping CL author on IRC for autosubmitted messages, as this
-					// is not necessarily an action they would otherwise notice.
-					// We avoid pinging only for actions triggered by the same
-					// user.
-					parsedMsg = fmt.Sprintf("CL/%d by %s autosubmitted - %s - %s", e.Change.Number, owner, e.Change.Subject, url)
+					parsedMsg = nopingAll(owner, fmt.Sprintf("CL/%d by %s autosubmitted - %s - %s", e.Change.Number, owner, e.Change.Subject, url))
 				} else {
 					parsedMsg = nopingAll(owner, fmt.Sprintf("CL/%d applied by %s - %s - %s", e.Change.Number, owner, e.Change.Subject, url))
 				}