Merge pull request #112 from gustavosbarreto/fix_build_error

Fix build error
This commit is contained in:
Kaleb Elwert 2019-06-19 10:48:18 -07:00 committed by GitHub
commit 93eb073412
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -95,7 +95,7 @@ func (srv *Server) ensureHandlers() {
func (srv *Server) config(ctx Context) *gossh.ServerConfig {
var config *gossh.ServerConfig
if srv.DefaultServerConfigCallback == nil {
if srv.ServerConfigCallback == nil {
config = &gossh.ServerConfig{}
} else {
config = srv.ServerConfigCallback(ctx)