From b1658a46aebe8aceb23af187de956ef91452f48a Mon Sep 17 00:00:00 2001 From: Jeff Halter <868228+jhalter@users.noreply.github.com> Date: Sun, 23 Apr 2023 12:25:15 -0700 Subject: Make UserFlags public --- hotline/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hotline/client.go') 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) -- cgit