From a48d10a1ccc5e62f0230589021904918c4a25e93 Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Mon, 10 Aug 2015 19:05:20 +0100 Subject: [PATCH] Fixed parseConfig.go to include new Web section --- config.gcfg | 2 +- parseconfig.go | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/config.gcfg b/config.gcfg index 02393e6..0e1e47a 100644 --- a/config.gcfg +++ b/config.gcfg @@ -162,7 +162,7 @@ AdminsEnabled = true # SYNTAX: In order to specify multiple admins, repeat the Admins="username" # line of code. Each line has one username, and an unlimited amount of usernames may # be entered in this matter. -Admins = "Matt" +Admins = "" # Make add an admin command? # DEFAULT VALUE: false diff --git a/parseconfig.go b/parseconfig.go index 4b4a16a..fcb80f6 100644 --- a/parseconfig.go +++ b/parseconfig.go @@ -33,6 +33,12 @@ type DjConfig struct { LowestVolume float32 HighestVolume float32 } + Web struct { + WebBrowser bool + WebPort int + WebAddress string + CustomWebPage bool + } Aliases struct { AddAlias string SkipAlias string