aboutsummaryrefslogtreecommitdiff
path: root/git_hooks_handle_other.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-04-05 20:32:02 +0800
committerRunxi Yu <me@runxiyu.org>2025-04-05 20:32:02 +0800
commit570fe8f00b40c01b98fe272ede170d626f99ac5d (patch)
tree7d6b07a199c9b970776891e79466cf9cfdd6500c /git_hooks_handle_other.go
parentsource/static-Handler shall no longer be global variables (diff)
downloadforge-570fe8f00b40c01b98fe272ede170d626f99ac5d.tar.gz
forge-570fe8f00b40c01b98fe272ede170d626f99ac5d.tar.zst
forge-570fe8f00b40c01b98fe272ede170d626f99ac5d.zip
ircSend* shall no longer be global variables
Diffstat (limited to '')
-rw-r--r--git_hooks_handle_other.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/git_hooks_handle_other.go b/git_hooks_handle_other.go
index ed75e7a..8b99285 100644
--- a/git_hooks_handle_other.go
+++ b/git_hooks_handle_other.go
@@ -229,7 +229,7 @@ func (s *server) hooksHandler(conn net.Conn) {
fmt.Fprintln(sshStderr, ansiec.Blue+"Created merge request at", mergeRequestWebURL+ansiec.Reset)
select {
- case ircSendBuffered <- "PRIVMSG #chat :New merge request at " + mergeRequestWebURL:
+ case s.ircSendBuffered <- "PRIVMSG #chat :New merge request at " + mergeRequestWebURL:
default:
slog.Error("IRC SendQ exceeded")
}