Potential bug fix?

This commit is contained in:
hydrabolt
2015-10-26 17:58:08 +00:00
parent 265da4535d
commit af18e833f9
5 changed files with 17 additions and 18 deletions

View File

@@ -879,10 +879,6 @@ var Client = (function () {
var data;
if (role instanceof ServerPermissions || role.type === "role") {
for (var key in updatedStuff) {
role[key] = updatedStuff[key];
}
data = ad(updatedStuff);
data.id = role.id;
data.type = "role";