fix default port not being set on validation

This commit is contained in:
Liam Stanley 2017-07-18 04:56:51 -04:00
parent 35c5ed5946
commit 0029c297f1

@ -170,7 +170,7 @@ type Config struct {
}
// isValid checks some basic settings to ensure the config is valid.
func (conf Config) isValid() error {
func (conf *Config) isValid() error {
if conf.Server == "" {
return errors.New("invalid server specified")
}