database: fix default value for Network.AutoAway
This commit is contained in:
parent
e19dd8f0da
commit
38e32ddd6c
@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user