aboutsummaryrefslogtreecommitdiff
path: root/hotline/client.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/client.go
parent48ecca21dde5b1c8a3f34bad60512503292c7141 (diff)
Make UserFlags public
Diffstat (limited to 'hotline/client.go')
-rw-r--r--hotline/client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hotline/client.go b/hotline/client.go
index f978c16..ffd0fb3 100644
--- a/hotline/client.go
+++ b/hotline/client.go
@@ -423,7 +423,7 @@ func (c *Client) renderUserList() {
c.UI.userList.Clear()
for _, u := range c.UserList {
flagBitmap := big.NewInt(int64(binary.BigEndian.Uint16(u.Flags)))
- if flagBitmap.Bit(userFlagAdmin) == 1 {
+ if flagBitmap.Bit(UserFlagAdmin) == 1 {
_, _ = fmt.Fprintf(c.UI.userList, "[red::b]%s[-:-:-]\n", u.Name)
} else {
_, _ = fmt.Fprintf(c.UI.userList, "%s\n", u.Name)