Skip to content

Commit ac35ad0

Browse files
dveedenccoVeille
andauthored
Update server/conn.go
Co-authored-by: ccoVeille <[email protected]>
1 parent fdfe0b2 commit ac35ad0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

server/conn.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ func NewConn(conn net.Conn, user string, password string, h Handler) (*Conn, err
4646
if defaultServer == nil {
4747
defaultServer = NewDefaultServer()
4848
}
49-
return defaultServer.NewConn(conn, user, password, h)
50-
}
49+
// NewCustomizedConn: create connection with customized server settings
50+
//
51+
// Deprecated: Use [Server.NewConn] instead.
5152

5253
// NewCustomizedConn: create connection with customized server settings
5354
// Deprecated: Use Server.NewConn instead.

0 commit comments

Comments
 (0)