Skip to content

Commit 52fa42a

Browse files
committed
Fix wrong channelId value in getPermissionOverview's Javadoc
1 parent 6b3be35 commit 52fa42a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/com/github/theholywaffle/teamspeak3/TS3Api.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2429,7 +2429,7 @@ public int[] getPermissionIdsByName(String... permNames) {
24292429

24302430
/**
24312431
* Gets a list of all assigned permissions for a client in a specified channel.
2432-
* If you do not care about channel permissions, set {@code channelId} to {@code -1}.
2432+
* If you do not care about channel permissions, set {@code channelId} to {@code 0}.
24332433
*
24342434
* @param channelId
24352435
* the ID of the channel

src/main/java/com/github/theholywaffle/teamspeak3/TS3ApiAsync.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2941,7 +2941,7 @@ public void handleSuccess(DefaultArrayResponse result) {
29412941

29422942
/**
29432943
* Gets a list of all assigned permissions for a client in a specified channel.
2944-
* If you do not care about channel permissions, set {@code channelId} to {@code -1}.
2944+
* If you do not care about channel permissions, set {@code channelId} to {@code 0}.
29452945
*
29462946
* @param channelId
29472947
* the ID of the channel

0 commit comments

Comments
 (0)