diff options
Diffstat (limited to 'server_config.go')
-rw-r--r-- | server_config.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server_config.go b/server_config.go index 51f8245b..1d8c281c 100644 --- a/server_config.go +++ b/server_config.go @@ -35,8 +35,8 @@ type ServerConfig struct { // SetDefaults sets missing values to their default values. func (cfg *ServerConfig) SetDefaults() { - if c.Workers.Relay == "" { - c.Workers.Relay = "pipes" + if cfg.Relay == "" { + cfg.Relay = "pipes" } if cfg.RelayTimeout == 0 { |