aboutsummaryrefslogtreecommitdiff
path: root/hotline/server.go
diff options
context:
space:
mode:
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(