diff --git a/lib/irc.js b/lib/irc.js index 79e96007..eeaa5a0d 100644 --- a/lib/irc.js +++ b/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);