diff options
Diffstat (limited to 'app/auto_channels.go')
-rw-r--r-- | app/auto_channels.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/auto_channels.go b/app/auto_channels.go index ed76398a7..bb67e1aa8 100644 --- a/app/auto_channels.go +++ b/app/auto_channels.go @@ -65,7 +65,7 @@ func (cfg *AutoChannelCreator) CreateTestChannels(num utils.Range) ([]*model.Cha for i := 0; i < numChannels; i++ { var err bool channels[i], err = cfg.createRandomChannel() - if err != true { + if !err { return channels, false } } |