From 86d95577904ea9b436cc5cced63f9c9bc625dae3 Mon Sep 17 00:00:00 2001 From: Chris Rice Date: Thu, 29 Jun 2023 08:03:47 -0700 Subject: [PATCH] Fix --- internal/server/config.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/server/config.go b/internal/server/config.go index d8982f57..7e87f2cd 100644 --- a/internal/server/config.go +++ b/internal/server/config.go @@ -369,8 +369,9 @@ func (config *Config) setProperty(name, value string, fromLoad bool) error { announcePort, err := strconv.ParseUint(value, 10, 64) if err != nil { invalid = true + } else { + config._announcePort = int64(announcePort) } - config._announcePort = int64(announcePort) } }