aboutsummaryrefslogtreecommitdiff
path: root/hotline
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2023-01-21 09:39:41 -0800
committerJeff Halter <868228+jhalter@users.noreply.github.com>2023-01-21 09:39:41 -0800
commitf808efcdd6f221d2a7079591f07fd01f7379ecd2 (patch)
treeef413a057f41375a162299b061411a32d66560c7 /hotline
parent2d92d26e8abe2c368796e9d38c9ad87d0ac53df5 (diff)
Fix bug in news article reply threading
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 86cc758..d99da53 100644
--- a/hotline/transaction_handlers.go
+++ b/hotline/transaction_handlers.go
@@ -1357,7 +1357,7 @@ func HandlePostNewsArt(cc *ClientConn, t *Transaction) (res []Transaction, err e
}
convertedArtID := uint32(artID)
bs := make([]byte, 4)
- binary.LittleEndian.PutUint32(bs, convertedArtID)
+ binary.BigEndian.PutUint32(bs, convertedArtID)
newArt := NewsArtData{
Title: string(t.GetField(fieldNewsArtTitle).Data),