Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #183 from porjo/master

Hide 'Sending irc NICK/User' debug msg
  • Loading branch information...
commit 6fcda56e5542c0d0094a12c371fbd65a8a29c098 2 parents 8cad429 + f8fd82f
@martynsmith authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/irc.js
View
3  lib/irc.js
@@ -618,7 +618,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);
Please sign in to comment.
Something went wrong with that request. Please try again.