summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-05-29 06:22:34 -0300
committerEuAndreh <eu@euandre.org>2025-05-29 06:22:34 -0300
commit9cc15130935dfaa6b58231ec708a2c71e54c3968 (patch)
tree7b30c77c85b2dcd04dd2450f05ebe64d9c07a998 /src
parentmeta.capim: Add with :dependencies key (diff)
downloadwscat-9cc15130935dfaa6b58231ec708a2c71e54c3968.tar.gz
wscat-9cc15130935dfaa6b58231ec708a2c71e54c3968.tar.xz
Update to latest project skeleton: i18n and fine-grained fuzzingHEADmain
Diffstat (limited to 'src')
-rw-r--r--src/wscat.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wscat.go b/src/wscat.go
index 744ccc3..40dd4dc 100644
--- a/src/wscat.go
+++ b/src/wscat.go
@@ -244,6 +244,7 @@ import (
"unsafe"
g "gobang"
+ gt "gotext"
)
@@ -1014,7 +1015,7 @@ func (w *messageWriter) flushFrame(final bool, extra []byte) error {
// documentation for more info.
if c.isWriting {
- panic("concurrent write to websocket connection")
+ panic(gt.Gettext("concurrent write to websocket connection"))
}
c.isWriting = true