fixed loop on custom map

This commit is contained in:
Brad Rydzewski 2014-10-01 09:58:17 -07:00
parent a61c19dddc
commit 37a5332951

View file

@ -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.