Skip to content

Commit

Permalink
Remove unused field
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheikah45 committed Oct 15, 2023
1 parent 30a3a45 commit 688fa34
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.faforever.client.chat;

import com.faforever.client.api.TokenRetriever;
import com.faforever.client.config.ClientProperties;
import com.faforever.client.config.ClientProperties.Irc;
import com.faforever.client.domain.PlayerBean;
Expand Down Expand Up @@ -100,7 +99,6 @@ public class KittehChatService implements ChatService, InitializingBean, Disposa
private final PlayerService playerService;
private final ChatPrefs chatPrefs;
private final FxApplicationThreadExecutor fxApplicationThreadExecutor;
private final TokenRetriever tokenRetriever;
@Qualifier("userWebClient")
private final ObjectFactory<WebClient> userWebClientFactory;

Expand All @@ -116,7 +114,6 @@ public class KittehChatService implements ChatService, InitializingBean, Disposa
@VisibleForTesting
DefaultClient client;
private String username;
private String password;
/**
* A list of channels the server wants us to join.
*/
Expand Down Expand Up @@ -355,7 +352,6 @@ private void onChatUserLeftChannel(String channelName, String username) {
}

private void onMessage(String message) {
message = message.replace(password, "*****");
ircLog.debug(message);
}

Expand Down Expand Up @@ -409,6 +405,7 @@ public void connect() {
username = loginService.getUsername();

client = (DefaultClient) Client.builder()
.realName(username)
.nick(username)
.server()
.host(irc.getHost())
Expand Down

0 comments on commit 688fa34

Please sign in to comment.