diff options
Diffstat (limited to 'config/menu.go')
-rw-r--r-- | config/menu.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/config/menu.go b/config/menu.go index f405ec5..a8ea7b0 100644 --- a/config/menu.go +++ b/config/menu.go @@ -70,9 +70,10 @@ func (m *Menu) validateConsistency(c *Config) error { return errors.New("No logged_in menu declared") } // Validate actions - menus := make(map[string]bool) - menus["anonymous"] = true - menus["logged_in"] = true + menus := map[string]bool{ + "anonymous": true, + "logged_in": true, + } playable := make(map[string]bool) for k, v := range c.Menus { for _, e := range v.MenuEntries { |