Webpack build for branch 11.3-dev: 22da595b50

This commit is contained in:
Travis CI 2017-11-21 08:46:26 +00:00
parent f4cba51550
commit 7a8a0a0ede
2 changed files with 4 additions and 3 deletions

View file

@ -18204,9 +18204,10 @@ class ClientDataManager {
}
}
if (channel) {
if (this.pastReady && !already) this.client.emit(Constants.Events.CHANNEL_CREATE, channel);
if (channel && !already) {
if (this.pastReady) this.client.emit(Constants.Events.CHANNEL_CREATE, channel);
this.client.channels.set(channel.id, channel);
} else if (already) {
return channel;
}

File diff suppressed because one or more lines are too long