Андрюха wd со Ставрополя tested this and observed some undocumented behaviour inside Links resolver that may potentially harm entire application. Implementing hot fixes.

This commit is contained in:
Dmitry Isaenko 2021-11-10 21:34:22 +03:00
parent 51fd7ef228
commit 2058370ee6
4 changed files with 3 additions and 4 deletions

View file

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>loper</groupId>
<artifactId>InnaIrcBot</artifactId>
<version>0.9-SNAPSHOT</version>
<version>0.9.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>InnaIrcBot</name>

View file

@ -4,7 +4,6 @@ import InnaIrcBot.Commanders.EventHandler;
import InnaIrcBot.ProvidersConsumers.StreamProvider;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.*;
public class JoinFloodHandler implements EventHandler {

View file

@ -1,7 +1,7 @@
package InnaIrcBot;
public class GlobalData {
private static final String version = "InnaIrcBot v0.9 \"Литке\"";
private static final String version = "InnaIrcBot v0.9.1 \"Литке\"";
public static synchronized String getAppVersion(){
return String.format("%s, %s %s %s", version,
System.getProperty("os.name"),

View file

@ -88,7 +88,7 @@ class LinksTitleHandler implements Runnable{
if (title.length() > 510)
title = title.substring(0, 510);
StreamProvider.writeToStream(server, "PRIVMSG "+ channel +" :"+title);
StreamProvider.writeToStream(server, "PRIVMSG "+ channel +" :\""+title+"\"");
} catch (Exception e){
e.printStackTrace();
}