server fix

This commit is contained in:
alessio 2017-03-20 01:14:56 +01:00
parent f8fb01f459
commit f8f133c631
1 changed files with 2 additions and 1 deletions

View File

@ -56,7 +56,7 @@ func init() {
Errors: errs,
},
Server: c.Server{
Status: true,
Status: false,
Open: false,
Host: host,
Port: port,
@ -261,6 +261,7 @@ func main() {
Msg: "Enable legacy watch by polling",
Resolve: func(d i.Context) bool {
val, _ := d.Ans().Bool()
fmt.Println(val)
return val
},
},