From 15606770ca5737e29be372aec62c458c30698adb Mon Sep 17 00:00:00 2001 From: Deluan Date: Sun, 22 Mar 2020 01:13:55 -0400 Subject: [PATCH] chore: removed non-working config flag --- conf/configuration.go | 1 - main.go | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/conf/configuration.go b/conf/configuration.go index dbdd04c35..a51e70d78 100644 --- a/conf/configuration.go +++ b/conf/configuration.go @@ -28,7 +28,6 @@ type nd struct { ProbeCommand string `default:"ffmpeg -i %s -f ffmetadata"` // DevFlags. These are used to enable/disable debugging and incomplete features - DevDisableBanner bool `default:"false"` DevLogSourceLine bool `default:"false"` DevAutoCreateAdminPassword string `default:""` } diff --git a/main.go b/main.go index 093bb251f..a33fca412 100644 --- a/main.go +++ b/main.go @@ -9,9 +9,7 @@ import ( ) func main() { - if !conf.Server.DevDisableBanner { - println(consts.Banner()) - } + println(consts.Banner()) conf.Load() db.EnsureLatestVersion()