Merge pull request 'LoadServers launches autolaunchers' (#36) from servers into trunk
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Reviewed-on: #36
This commit is contained in:
commit
baddf633b2
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