Remove all data stores! Move to maps

This commit is contained in:
Amish Shah
2016-08-19 22:34:59 +01:00
parent 82ab92ca2a
commit 8d5d90e222
17 changed files with 81 additions and 111 deletions

View File

@@ -13,7 +13,7 @@ class ChannelDeleteAction extends Action {
let channel = client.channels.get(data.id);
if (channel) {
client.store.killChannel(channel);
client.dataManager.killChannel(channel);
this.deleted[channel.id] = channel;
this.scheduleForDeletion(channel.id);
} else if (this.deleted[data.id]) {