aboutsummaryrefslogtreecommitdiff
path: root/hotline/server.go
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2023-04-23 12:25:15 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2023-04-23 12:25:15 -0700
commitb1658a46aebe8aceb23af187de956ef91452f48a (patch)
tree58916799f543d89f4cb34a3a29c9d4a0250ac0dc /hotline/server.go
parent48ecca21dde5b1c8a3f34bad60512503292c7141 (diff)
Make UserFlags public
Diffstat (limited to 'hotline/server.go')
-rw-r--r--hotline/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hotline/server.go b/hotline/server.go
index 500087a..386562b 100644
--- a/hotline/server.go
+++ b/hotline/server.go
@@ -313,7 +313,7 @@ func (s *Server) keepaliveHandler() {
c.Idle = true
flagBitmap := big.NewInt(int64(binary.BigEndian.Uint16(c.Flags)))
- flagBitmap.SetBit(flagBitmap, userFlagAway, 1)
+ flagBitmap.SetBit(flagBitmap, UserFlagAway, 1)
binary.BigEndian.PutUint16(c.Flags, uint16(flagBitmap.Int64()))
c.sendAll(