From d987796243e732232658ec89ed63344d595084db Mon Sep 17 00:00:00 2001 From: binwiederhier Date: Sun, 31 May 2026 11:08:30 -0400 Subject: [PATCH] Rename --- user/access_cache.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user/access_cache.go b/user/access_cache.go index adcf6e02..5c5359fd 100644 --- a/user/access_cache.go +++ b/user/access_cache.go @@ -119,8 +119,8 @@ func (c *aclCache) Lookup(usernameOrEveryone, topic string) (read, write, found func (c *aclCache) pickBestNoLock(username, topic, escapedTopic string) (*aclEntry, bool) { var best aclEntry var found bool - if m, exists := c.exact[username]; exists { - if entry, exists := m[escapedTopic]; exists { + if exact, exists := c.exact[username]; exists { + if entry, exists := exact[escapedTopic]; exists { best, found = entry, true } }