Skip to content

Commit

Permalink
fix wrong permission check
Browse files Browse the repository at this point in the history
  • Loading branch information
WegFetZ committed Dec 26, 2014
1 parent a4770e9 commit 5521aa1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public static void listSelectionChanged() {

if (song != null) {
if (song.getOwner().equalsIgnoreCase(Client.userName)
|| Client.database.permissionGranted("sc.delete.others")) {
|| Client.database.permissionGranted("sc.others.delete")) {
App.gui.musicTab.deleteButton.setEnabled(true);
} else {
App.gui.musicTab.deleteButton.setEnabled(false);
Expand Down

0 comments on commit 5521aa1

Please sign in to comment.