Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed documentation for creating a new client

  • Loading branch information...
commit b4708876db022094e1dae2d2cedac849e582f45d 1 parent b7574a3
Martyn Smith authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  README.md
View
3  README.md
@@ -22,7 +22,8 @@ How to use it
This library provides basic IRC client functionality. In the simplest case you
can connect to an IRC server like so:
- var client = require('irc').Client('irc.dollyfish.net.nz', 'myNick', {
+ var irc = require('irc');
+ var client = new irc.Client('irc.dollyfish.net.nz', 'myNick', {
channels: ['#blah'],
});
Please sign in to comment.
Something went wrong with that request. Please try again.