From adeaff4a0109cf1d046c578b1c081fb407508349 Mon Sep 17 00:00:00 2001 From: bvn13 Date: Mon, 30 Sep 2019 22:38:32 +0300 Subject: [PATCH] upgrade dependencies, disabled TLS --- pom.xml | 8 ++++---- src/main/java/ru/bvn13/jircbot/bot/JircBot.java | 3 ++- src/main/resources/application.properties | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index 50f5bdb..4dbbcf5 100644 --- a/pom.xml +++ b/pom.xml @@ -6,23 +6,23 @@ ru.bvn13 jircbot - 2.1.1 + 2.2.0 jar org.springframework.boot spring-boot-starter-parent - 2.1.6.RELEASE + 2.1.8.RELEASE - 2.1.1 + 2.2.0 1.8 - 2.1 + 2.3-SNAPSHOT UTF-8 UTF-8 diff --git a/src/main/java/ru/bvn13/jircbot/bot/JircBot.java b/src/main/java/ru/bvn13/jircbot/bot/JircBot.java index 98500f7..e80eab3 100644 --- a/src/main/java/ru/bvn13/jircbot/bot/JircBot.java +++ b/src/main/java/ru/bvn13/jircbot/bot/JircBot.java @@ -108,7 +108,8 @@ public class JircBot extends ListenerAdapter { .setLogin("JIrcBot") //login part of hostmask, eg name:login@host .setAutoNickChange(true) //Automatically change nick when the current one is in use .setCapEnabled(true) //Enable CAP features - .addCapHandler(new TLSCapHandler(new UtilSSLSocketFactory().trustAllCertificates(), true)); +// .addCapHandler(new TLSCapHandler(new UtilSSLSocketFactory().trustAllCertificates(), true)) + ; this.config.getConnections().forEach(c -> { List servers = new ArrayList<>(); diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 45ad4e5..fc024ae 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,5 +1,5 @@ -jircbot.version=2.1.0 +jircbot.version=2.2.0 jircbot.config=config.json