Merge pull request #421 from CoryChaplin/development
authorJack Allnutt <jack@allnutt.eu>
Tue, 29 Oct 2013 23:51:50 +0000 (16:51 -0700)
committerJack Allnutt <jack@allnutt.eu>
Tue, 29 Oct 2013 23:51:50 +0000 (16:51 -0700)
Removed redundant call to NAMES onJoin

1  2 
server/irc/channel.js

index 1a8c6d9103a0780958e42a5e52dd1fc0651bf054,46c99556e380704f9183e39e2cb7a0f5d30c4ad9..2c207368f0669e102946ac038a1276e96516ae53
@@@ -46,14 -46,8 +46,9 @@@ function onJoin(event) 
          channel: this.name,
          nick: event.nick,
          ident: event.ident,
 -        hostname: event.hostname
 +        hostname: event.hostname,
 +        time: event.time
      });
-     // If we've just joined this channel then request get a nick list
-     if (event.nick === this.irc_connection.nick) {
-         this.irc_connection.write('NAMES ' + this.name);
-     }
  }