We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b26e99 commit 4f4800eCopy full SHA for 4f4800e
src/main/java/org/kitteh/irc/client/library/defaults/listener/DefaultCapListener.java
@@ -169,7 +169,7 @@ private void fireAndCapReq(@NonNull CapabilityNegotiationResponseEventWithReques
169
List<String> requests = responseEvent.getRequests();
170
if (!requests.isEmpty()) {
171
CapabilityRequestCommand capabilityRequestCommand = new CapabilityRequestCommand(this.getClient());
172
- requests.forEach(capabilityRequestCommand::enable);
+ requests.stream().distinct().forEach(capabilityRequestCommand::enable);
173
capabilityRequestCommand.execute();
174
}
175
0 commit comments