aboutsummaryrefslogtreecommitdiff
path: root/hotline
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2021-08-06 18:12:01 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2021-08-06 10:12:01 -0700
commit8dea0e8234db79daeb40544b4b3426d8ce76f3e5 (patch)
treeaa0e5da9add99db0f23f76f45aef957ddd18bfdd /hotline
parent685660e2266ba4353f8769a86936e228ceeb5bfa (diff)
Fix line break for emote messages
Diffstat (limited to 'hotline')
-rw-r--r--hotline/transaction_handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hotline/transaction_handlers.go b/hotline/transaction_handlers.go
index 0ae6071..0812f9a 100644
--- a/hotline/transaction_handlers.go
+++ b/hotline/transaction_handlers.go
@@ -300,7 +300,7 @@ func HandleChatSend(cc *ClientConn, t *Transaction) (res []Transaction, err erro
// *** Halcyon does stuff
// This is indicated by the presence of the optional field fieldChatOptions in the transaction payload
if t.GetField(fieldChatOptions).Data != nil {
- formattedMsg = fmt.Sprintf("*** %s %s\r", *cc.UserName, t.GetField(fieldData).Data)
+ formattedMsg = fmt.Sprintf("\r*** %s %s", *cc.UserName, t.GetField(fieldData).Data)
}
if bytes.Equal(t.GetField(fieldData).Data, []byte("/stats")) {