From c5e8cb25caa39ed018ede5270e1566e8f7448396 Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 30 Oct 2017 11:57:24 -0500 Subject: simplify things (#7735) --- app/auto_channels.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/auto_channels.go') 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 } } -- cgit v1.2.3-1-g7c22