Skip to content

Commit

Permalink
Fixing helper
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptiklemur committed Feb 15, 2016
1 parent fd3cc14 commit 50d659e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helper/DJHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class DJHelper {

let role = server.roles.get('name', 'DJ');

return user.hasRole(role) || user.id === this.client.admin.id;
return this.client.memberHasRole(user, role) || user.id === this.client.admin.id;
}
}

Expand Down

0 comments on commit 50d659e

Please sign in to comment.