about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2020-04-03 03:09:33 -0400
committerBen Morrison <ben@gbmor.dev>2020-04-03 03:09:33 -0400
commitaf0e0ab55ebe4a68d9d72ab4ae718a9f3898c0c4 (patch)
treec6e4d65f88a77218fed2a009b0b1901e02e225df
parent28a165f1caaa71c3ec06bb8756a622dddbddf5bc (diff)
downloadgoofbot-af0e0ab55ebe4a68d9d72ab4ae718a9f3898c0c4.tar.gz
using 200c instead of 200b for zero-width character
-rw-r--r--main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.go b/main.go
index 5b8e0fb..46b3be5 100644
--- a/main.go
+++ b/main.go
@@ -16,8 +16,8 @@ import (
 	"github.com/lrstanley/girc"
 )
 
-// ZWSP is a zero-width space
-const ZWSP = string(0x200b)
+// ZW is a zero-width character
+const ZW = string(0x200c)
 
 // Conf holds all the config info
 type Conf struct {
@@ -169,7 +169,7 @@ func main() {
 					continue
 				}
 
-				c := fmt.Sprintf("%s%s", ZWSP, split[i])
+				c := fmt.Sprintf("%s%s", ZW, split[i])
 				out.WriteString(c + " ")
 			}