Skip to content

Commit

Permalink
fix broken examples
Browse files Browse the repository at this point in the history
Closes #193.
  • Loading branch information
Fionn Kelleher committed May 29, 2014
1 parent f1b6e9b commit 77832d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions example/bot.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#!/usr/bin/env node

// Make sure the irc lib is available
require.paths.unshift(__dirname + '/../lib');

var irc = require('irc');
var irc = require('../');

var bot = new irc.Client('irc.dollyfish.net.nz', 'nodebot', {
debug: true,
Expand Down
5 changes: 1 addition & 4 deletions example/secure.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#!/usr/bin/env node

// Make sure the irc lib is available
require.paths.unshift(__dirname + '/../lib');

var irc = require('irc');
var irc = require('../');
/*
* To set the key/cert explicitly, you could do the following
var fs = require('fs');
Expand Down

0 comments on commit 77832d4

Please sign in to comment.