LoadServers launches autolaunchers
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
f3b753827f
commit
f9f074a65c
3
lib.go
3
lib.go
|
@ -995,6 +995,9 @@ func LoadServers(password string) {
|
||||||
ev := event.NewEvent(servers.NewServer, make(map[event.Field]string))
|
ev := event.NewEvent(servers.NewServer, make(map[event.Field]string))
|
||||||
serverInfo.EnrichEvent(&ev)
|
serverInfo.EnrichEvent(&ev)
|
||||||
application.GetPrimaryBus().Publish(ev)
|
application.GetPrimaryBus().Publish(ev)
|
||||||
|
if serverInfo.Autostart {
|
||||||
|
LaunchServer(serverOnion)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue