Added deleting of roles

This commit is contained in:
hydrabolt
2015-10-26 16:02:13 +00:00
parent 5d22124c3d
commit acd7dfc404
5 changed files with 55 additions and 15 deletions

View File

@@ -17,7 +17,7 @@ class Server {
this.roles = [];
for(var permissionGroup of data.roles){
this.roles.push( new ServerPermissions(permissionGroup) );
this.roles.push( new ServerPermissions(permissionGroup, this) );
}
if(!data.members){