Fixed channel.delete()

This commit is contained in:
hydrabolt
2015-11-15 13:57:51 +00:00
parent 083244f744
commit 68ac437ef0
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ var Channel = (function (_Equality) {
}
Channel.prototype["delete"] = function _delete() {
return this.client.internal.deleteChannel(this);
return this.client.deleteChannel.apply(this, arguments);
};
return Channel;

View File

@@ -13,7 +13,7 @@ class Channel extends Equality{
}
delete(){
return this.client.internal.deleteChannel(this);
return this.client.deleteChannel.apply(this, arguments);
}
}