LoadServers launches autolaunchers
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Dan Ballard 2021-11-01 21:30:03 -07:00
parent f3b753827f
commit f9f074a65c
1 changed files with 3 additions and 0 deletions

3
lib.go
View File

@ -995,6 +995,9 @@ func LoadServers(password string) {
ev := event.NewEvent(servers.NewServer, make(map[event.Field]string))
serverInfo.EnrichEvent(&ev)
application.GetPrimaryBus().Publish(ev)
if serverInfo.Autostart {
LaunchServer(serverOnion)
}
}
}
}