Fix this string slice being nil

This commit is contained in:
Melon 2024-02-08 13:28:55 +00:00
parent 994bb4e478
commit 2ecf871565
Signed by: melon
GPG Key ID: 6C9D970C50D26A25

View File

@ -45,7 +45,7 @@ func (p *PermStorage) OneOf(o *PermStorage) bool {
}
func (p *PermStorage) Dump() []string {
var a []string
a := make([]string, 0, len(p.values))
for i := range p.values {
a = append(a, i)
}