diff --git a/mods/main.go b/mods/main.go index f6075f6..0e1c0f9 100644 --- a/mods/main.go +++ b/mods/main.go @@ -3,7 +3,9 @@ package main import ( "flag" "log" + "math/rand" "strings" + "time" "github.com/hamcha/clessy/tg" ) @@ -85,6 +87,8 @@ func main() { delete(mods, modname) } + rand.Seed(time.Now().Unix()) + initmods() err := tg.CreateBrokerClient(*brokerAddr, dispatch)