diff --git a/mods/main.go b/mods/main.go index 12c087c..dfbb389 100644 --- a/mods/main.go +++ b/mods/main.go @@ -124,13 +124,13 @@ func main() { rand.Seed(time.Now().Unix()) + initmods() + var err error broker, err = tg.CreateBrokerClient(*brokerAddr, dispatch) if err != nil { panic(err) } - - initmods() } func assert(err error) {