diff options
author | EuAndreh <eu@euandre.org> | 2025-05-29 06:22:34 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-05-29 06:22:34 -0300 |
commit | 9cc15130935dfaa6b58231ec708a2c71e54c3968 (patch) | |
tree | 7b30c77c85b2dcd04dd2450f05ebe64d9c07a998 /src | |
parent | meta.capim: Add with :dependencies key (diff) | |
download | wscat-9cc15130935dfaa6b58231ec708a2c71e54c3968.tar.gz wscat-9cc15130935dfaa6b58231ec708a2c71e54c3968.tar.xz |
Diffstat (limited to 'src')
-rw-r--r-- | src/wscat.go | 3 |
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 |