aboutsummaryrefslogtreecommitdiff
path: root/git_hooks_handle_other.go
diff options
context:
space:
mode:
Diffstat (limited to 'git_hooks_handle_other.go')
-rw-r--r--git_hooks_handle_other.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/git_hooks_handle_other.go b/git_hooks_handle_other.go
index d4a6aea..da40bb6 100644
--- a/git_hooks_handle_other.go
+++ b/git_hooks_handle_other.go
@@ -12,7 +12,6 @@ import (
"errors"
"fmt"
"io"
- "log/slog"
"net"
"path/filepath"
"strconv"
@@ -226,11 +225,7 @@ func (s *Server) hooksHandler(conn net.Conn) {
mergeRequestWebURL := fmt.Sprintf("%s/contrib/%d/", s.genHTTPRemoteURL(packPass.groupPath, packPass.repoName), newMRLocalID)
fmt.Fprintln(sshStderr, ansiec.Blue+"Created merge request at", mergeRequestWebURL+ansiec.Reset)
- select {
- case s.ircSendBuffered <- "PRIVMSG #chat :New merge request at " + mergeRequestWebURL:
- default:
- slog.Error("IRC SendQ exceeded")
- }
+ s.ircBot.Send("PRIVMSG #chat :New merge request at " + mergeRequestWebURL)
} else { // Existing contrib branch
var existingMRUser int
var isAncestor bool