Skip to content

Commit

Permalink
Merge pull request #112 from gustavosbarreto/fix_build_error
Browse files Browse the repository at this point in the history
Fix build error
  • Loading branch information
belak authored Jun 19, 2019
2 parents 0f1eb38 + 31eb4b7 commit 93eb073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 93eb073

Please sign in to comment.