Skip to content
This repository has been archived by the owner on Jul 27, 2019. It is now read-only.

Commit

Permalink
TLS does not require SSL to be true.
Browse files Browse the repository at this point in the history
  • Loading branch information
cnaude committed Mar 18, 2015
1 parent e7463be commit e1adcc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/cnaude/purpleirc/PurpleBot.java
Expand Up @@ -261,7 +261,7 @@ public void buildBot() {
plugin.logInfo("Setting IdentPassword ...");
configBuilder.setNickservPassword(botIdentPassword);
}
if (ssl) {
if (ssl || tls) {
UtilSSLSocketFactory socketFactory = new UtilSSLSocketFactory();
socketFactory.disableDiffieHellman();
if (trustAllCerts) {
Expand Down

0 comments on commit e1adcc1

Please sign in to comment.