From 37a53329516f6f39a3f4bac1ca074e7521417d40 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Wed, 1 Oct 2014 09:58:17 -0700 Subject: [PATCH] fixed loop on custom map --- server/capability/capability.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/capability/capability.go b/server/capability/capability.go index 8ceb0a4b..704e75a0 100644 --- a/server/capability/capability.go +++ b/server/capability/capability.go @@ -8,7 +8,7 @@ type Capability map[string]bool // Get the capability value from the map. func (c Capability) Get(key string) bool { - return c.Get(key) + return c[key] } // Sets the capability value in the map.