fixed add member to role

This commit is contained in:
hydrabolt
2015-10-26 15:41:56 +00:00
parent b5263aae0c
commit 1d3c61333c
5 changed files with 44 additions and 40 deletions

View File

@@ -101,7 +101,7 @@ class Server {
if(oldRole){
var index = this.roles.indexOf(oldRole);
this.roles[index] = new ServerPermissions(data);
this.roles[index] = new ServerPermissions(data, this);
return this.roles[index];