database: fix default value for Network.AutoAway

This commit is contained in:
Simon Ser 2023-10-31 23:51:32 +01:00
parent e19dd8f0da
commit 38e32ddd6c

View File

@ -163,8 +163,9 @@ type Network struct {
func NewNetwork(addr string) *Network { func NewNetwork(addr string) *Network {
return &Network{ return &Network{
Addr: addr, Addr: addr,
Enabled: true, AutoAway: true,
Enabled: true,
} }
} }