v0.4 hot-fixes

This commit is contained in:
Dmitry Isaenko 2019-01-27 07:16:36 +03:00
parent 9fe3b5e11b
commit c721a4d974
3 changed files with 2 additions and 4 deletions

View file

@ -11,7 +11,6 @@ public class BotStart {
//TODO: flood control
//TODO: setDaemon(true)
//TODO: multiple connections to one server not allowed
// TODO switch to zero-worker in case of inconsistent state of Worker
public static void main(String[] args){
if (args.length != 0) {

View file

@ -15,8 +15,7 @@ public class StreamProvider {
try {
srvStreamMap.get(server).write(message+"\n");
srvStreamMap.get(server).flush();
//System.out.println(message);
//System.out.println("W:"+message);
// If this application says something, then pass it into system consumer thread to handle
if (message.startsWith("PRIVMSG")) {
srvSysConsumersMap.get(server).println("INNA "+message);

View file

@ -214,7 +214,7 @@ public class SystemConsumer implements Runnable{
proxyAList.put(message, new ArrayList<>()); // Add new channel name to proxy watch-list
proxyAList.get(message).add(eventNum+" "+sender+" "+message); // Add message to array linked
this.proxyRequired = true; // Ask for proxy validators
writerWorker.logAdd("[system]", "joined to channel ", "message");
writerWorker.logAdd("[system]", "joined to channel ", message);
}
break;
default: