diff options
author | Wim <wim@42.be> | 2017-07-14 00:35:01 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2017-07-14 00:35:01 +0200 |
commit | 6dee988b76852c6b15ef59061896ce48ce6ba978 (patch) | |
tree | b2a187be4850e212400bb9627e60327c63370b30 /bridge/config | |
parent | 5af40db3965649348143a530bea671574fb1ef54 (diff) | |
download | matterbridge-msglm-6dee988b76852c6b15ef59061896ce48ce6ba978.tar.gz matterbridge-msglm-6dee988b76852c6b15ef59061896ce48ce6ba978.tar.bz2 matterbridge-msglm-6dee988b76852c6b15ef59061896ce48ce6ba978.zip |
Fix megacheck / go vet issues
Diffstat (limited to 'bridge/config')
-rw-r--r-- | bridge/config/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/config/config.go b/bridge/config/config.go index 69a13e43..2bac2e7d 100644 --- a/bridge/config/config.go +++ b/bridge/config/config.go @@ -209,7 +209,7 @@ func Deprecated(cfg Protocol, account string) bool { log.Printf("ERROR: %s BindAddress is deprecated, you need to change it to WebhookBindAddress.", account) } else if cfg.URL != "" { log.Printf("ERROR: %s URL is deprecated, you need to change it to WebhookURL.", account) - } else if cfg.UseAPI == true { + } else if cfg.UseAPI { log.Printf("ERROR: %s UseAPI is deprecated, it's enabled by default, please remove it from your config file.", account) } else { return false |