Removed redundant call to NAMES onJoin
authorCory Chaplin <cory.chaplin@laposte.net>
Tue, 29 Oct 2013 23:12:00 +0000 (00:12 +0100)
committerCory Chaplin <cory.chaplin@laposte.net>
Tue, 29 Oct 2013 23:12:00 +0000 (00:12 +0100)
server/irc/channel.js

index fcdeec28a4db9bc19e55b27bb30d57d74fc514d2..46c99556e380704f9183e39e2cb7a0f5d30c4ad9 100644 (file)
@@ -48,11 +48,6 @@ function onJoin(event) {
         ident: event.ident,
         hostname: event.hostname
     });
-
-    // 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);
-    }
 }