upgrade dependencies, disabled TLS

pull/11/head
bvn13 2019-09-30 22:38:32 +03:00
parent 801cd60551
commit adeaff4a01
3 changed files with 7 additions and 6 deletions

View File

@ -6,23 +6,23 @@
<groupId>ru.bvn13</groupId> <groupId>ru.bvn13</groupId>
<artifactId>jircbot</artifactId> <artifactId>jircbot</artifactId>
<version>2.1.1</version> <version>2.2.0</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<parent> <parent>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId> <artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.6.RELEASE</version> <version>2.1.8.RELEASE</version>
<relativePath/> <!-- lookup parent from repository --> <relativePath/> <!-- lookup parent from repository -->
</parent> </parent>
<properties> <properties>
<bot.version>2.1.1</bot.version> <bot.version>2.2.0</bot.version>
<java.version>1.8</java.version> <java.version>1.8</java.version>
<pircbotx.version>2.1</pircbotx.version> <pircbotx.version>2.3-SNAPSHOT</pircbotx.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

View File

@ -108,7 +108,8 @@ public class JircBot extends ListenerAdapter {
.setLogin("JIrcBot") //login part of hostmask, eg name:login@host .setLogin("JIrcBot") //login part of hostmask, eg name:login@host
.setAutoNickChange(true) //Automatically change nick when the current one is in use .setAutoNickChange(true) //Automatically change nick when the current one is in use
.setCapEnabled(true) //Enable CAP features .setCapEnabled(true) //Enable CAP features
.addCapHandler(new TLSCapHandler(new UtilSSLSocketFactory().trustAllCertificates(), true)); // .addCapHandler(new TLSCapHandler(new UtilSSLSocketFactory().trustAllCertificates(), true))
;
this.config.getConnections().forEach(c -> { this.config.getConnections().forEach(c -> {
List<Configuration.ServerEntry> servers = new ArrayList<>(); List<Configuration.ServerEntry> servers = new ArrayList<>();

View File

@ -1,5 +1,5 @@
jircbot.version=2.1.0 jircbot.version=2.2.0
jircbot.config=config.json jircbot.config=config.json