Skip to content

Commit

Permalink
Fix config default
Browse files Browse the repository at this point in the history
  • Loading branch information
GNURub committed Apr 15, 2020
1 parent 3a0337e commit 22714df
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion configure/liveconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func initLog() {
}
}

func LoadConfig() {
func init() {
defer Init()

// Default config
Expand Down
2 changes: 0 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ func main() {
}
}()

configure.LoadConfig()

log.Infof(`
_ _ ____
| | (_)_ _____ / ___| ___
Expand Down

0 comments on commit 22714df

Please sign in to comment.