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.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/git_hooks_handle_other.go b/git_hooks_handle_other.go
index 89a4193..d0c7088 100644
--- a/git_hooks_handle_other.go
+++ b/git_hooks_handle_other.go
@@ -12,6 +12,7 @@ import (
"errors"
"fmt"
"io"
+ "log/slog"
"net"
"path/filepath"
"strconv"
@@ -22,7 +23,6 @@ import (
"github.com/jackc/pgx/v5"
"go.lindenii.runxiyu.org/forge/misc"
"go.lindenii.runxiyu.org/lindenii-common/ansiec"
- "go.lindenii.runxiyu.org/lindenii-common/clog"
)
var errGetFD = errors.New("unable to get file descriptor")
@@ -231,7 +231,7 @@ func hooksHandler(conn net.Conn) {
select {
case ircSendBuffered <- "PRIVMSG #chat :New merge request at " + mergeRequestWebURL:
default:
- clog.Error("IRC SendQ exceeded")
+ slog.Error("IRC SendQ exceeded")
}
} else { // Existing contrib branch
var existingMRUser int