Redundant error checking RVV-B0005
Style
Major
2 years ago2 years old
redundant if ...; err != nil check, just return error instead.
49	}
50
51	if ok, _ := client.Extension("AUTH"); ok {
52		if err = client.Auth(auth); err != nil {53			return err
54		}
55		return nil