diff options
Diffstat (limited to 'bridge/config/config.go')
-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 |