File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ func generateDefaultConfig() {
3838 log .Panic ("Failed to create configuration file:" , err .Error ())
3939 }
4040 Config = configMain {
41- Services : []ConfigProxyService {
41+ Services : []* ConfigProxyService {
4242 {
4343 Name : "HypixelDefault" ,
4444 TargetAddress : "mc.hypixel.net" ,
Original file line number Diff line number Diff line change 11package config
22
33type configMain struct {
4- Services []ConfigProxyService
4+ Services []* ConfigProxyService
55}
66
77type ConfigProxyService struct {
Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ func main() {
2525
2626 config .LoadConfig ()
2727
28- group := sync.WaitGroup {}
28+ group := & sync.WaitGroup {}
2929 for _ , s := range config .Config .Services {
3030 group .Add (1 )
31- go service .StartNewService (& s , & group )
31+ go service .StartNewService (s , group )
3232 }
33- ( & group ) .Wait ()
33+ group .Wait ()
3434}
You can’t perform that action at this time.
0 commit comments