Permalink
Browse files

Merge pull request #183 from porjo/master

Hide 'Sending irc NICK/User' debug msg
  • Loading branch information...
2 parents 8cad429 + f8fd82f commit 6fcda56e5542c0d0094a12c371fbd65a8a29c098 @martynsmith committed Sep 6, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/irc.js
View
@@ -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);

0 comments on commit 6fcda56

Please sign in to comment.