Skip to content

Commit

Permalink
chore(README): fix class name references
Browse files Browse the repository at this point in the history
  • Loading branch information
trs committed Oct 31, 2017
1 parent 0a331c5 commit 1ba6703
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
```js
// Quick start

const FtpSvr = require('ftp-srv');
const ftpServer = new FtpSvr('ftp://0.0.0.0:9876', { options ... });
const FtpSrv = require('ftp-srv');
const ftpServer = new FtpSrv('ftp://0.0.0.0:9876', { options ... });

ftpServer.on('login', (data, resolve, reject) => { ... });
...
Expand Down Expand Up @@ -105,7 +105,7 @@ A [bunyan logger](https://github.com/trentm/node-bunyan) instance. Created by de

## Events

The `FtpSvr` class extends the [node net.Server](https://nodejs.org/api/net.html#net_class_net_server). Some custom events can be resolved or rejected, such as `login`.
The `FtpSrv` class extends the [node net.Server](https://nodejs.org/api/net.html#net_class_net_server). Some custom events can be resolved or rejected, such as `login`.

### `login`
```js
Expand Down

0 comments on commit 1ba6703

Please # to comment.