mirror of https://github.com/tidwall/tile38.git
Fix
This commit is contained in:
parent
7263b4c2de
commit
86d9557790
|
@ -369,8 +369,9 @@ func (config *Config) setProperty(name, value string, fromLoad bool) error {
|
||||||
announcePort, err := strconv.ParseUint(value, 10, 64)
|
announcePort, err := strconv.ParseUint(value, 10, 64)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
invalid = true
|
invalid = true
|
||||||
|
} else {
|
||||||
|
config._announcePort = int64(announcePort)
|
||||||
}
|
}
|
||||||
config._announcePort = int64(announcePort)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue