diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2023-04-23 12:25:15 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2023-04-23 12:25:15 -0700 |
| commit | b1658a46aebe8aceb23af187de956ef91452f48a (patch) | |
| tree | 58916799f543d89f4cb34a3a29c9d4a0250ac0dc /hotline/client.go | |
| parent | 48ecca21dde5b1c8a3f34bad60512503292c7141 (diff) | |
Make UserFlags public
Diffstat (limited to 'hotline/client.go')
| -rw-r--r-- | hotline/client.go | 2 |
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) |