Webpack build for branch master: eb5ba4e45e

This commit is contained in:
Travis CI 2017-08-30 11:26:53 +00:00
parent 8a146fe553
commit 4596bb15a0
2 changed files with 2 additions and 2 deletions

View file

@ -7688,7 +7688,6 @@ class VoiceStateCollection extends Collection {
this.guild = guild;
}
set(id, voiceState) {
super.set(id, voiceState);
const member = this.guild.members.get(id);
if (member) {
if (member.voiceChannel && member.voiceChannel.id !== voiceState.channel_id) {
@ -7698,6 +7697,7 @@ class VoiceStateCollection extends Collection {
const newChannel = this.guild.channels.get(voiceState.channel_id);
if (newChannel) newChannel.members.set(member.user.id, member);
}
super.set(id, voiceState);
}
}

File diff suppressed because one or more lines are too long