Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Hide 'Sending irc NICK/User' debug msg #183

Merged
merged 1 commit into from

2 participants

@porjo

No description provided.

@martynsmith martynsmith merged commit 6fcda56 into martynsmith:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 18, 2013
  1. @porjo
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/irc.js
View
3  lib/irc.js
@@ -598,7 +598,8 @@ Client.prototype.connect = function ( retryCount, callback ) { // {{{
if ( self.opt.password !== null ) {
self.send( "PASS", self.opt.password );
}
- util.log('Sending irc NICK/USER');
+ if ( self.opt.debug )
+ util.log('Sending irc NICK/USER');
self.send("NICK", self.opt.nick);
self.nick = self.opt.nick;
self.send("USER", self.opt.userName, 8, "*", self.opt.realName);
Something went wrong with that request. Please try again.