GUAC-574: Update appropriate count - should be user here, not group.
This commit is contained in:
1 parent
7fa30998b2
commit
e44ea62d83
1 file changed
+2
-2
+2
-2
@@ -312,7 +312,7 @@ public class ActiveConnectionMap {
|
||||
* @param userID The user ID that this ConnectionUser refers to.
|
||||
*/
|
||||
private void incrementConnectionUserCount(int connectionID, int userID) {
|
||||
int currentCount = getConnectionGroupUserCount(connectionID, userID);
|
||||
int currentCount = getConnectionUserCount(connectionID, userID);
|
||||
|
||||
activeConnectionUserMap.put
|
||||
(new ConnectionUser(connectionID, userID), currentCount + 1);
|
||||
@@ -326,7 +326,7 @@ public class ActiveConnectionMap {
|
||||
* @param userID The user ID that this ConnectionUser refers to.
|
||||
*/
|
||||
private void decrementConnectionUserCount(int connectionID, int userID) {
|
||||
int currentCount = getConnectionGroupUserCount(connectionID, userID);
|
||||
int currentCount = getConnectionUserCount(connectionID, userID);
|
||||
|
||||
activeConnectionUserMap.put
|
||||
(new ConnectionUser(connectionID, userID), currentCount - 1);
|
||||
|
||||
Reference in new issue
Block a user