diff --git a/model/channel.go b/model/channel.go index 0d5d3161..c5f947c7 100644 --- a/model/channel.go +++ b/model/channel.go @@ -126,7 +126,7 @@ func (channel *Channel) Update() (err error) { models := strings.Split(channel.Models, ",") var filteredModels []string for _, model := range models { - if _, ok := mapping[model]; ok { + if _, ok := mapping[model]; !ok { filteredModels = append(filteredModels, model) } }