v0.4 hot-fixes
This commit is contained in:
parent
9fe3b5e11b
commit
c721a4d974
3 changed files with 2 additions and 4 deletions
|
@ -11,7 +11,6 @@ public class BotStart {
|
||||||
//TODO: flood control
|
//TODO: flood control
|
||||||
//TODO: setDaemon(true)
|
//TODO: setDaemon(true)
|
||||||
//TODO: multiple connections to one server not allowed
|
//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){
|
public static void main(String[] args){
|
||||||
if (args.length != 0) {
|
if (args.length != 0) {
|
||||||
|
|
|
@ -15,8 +15,7 @@ public class StreamProvider {
|
||||||
try {
|
try {
|
||||||
srvStreamMap.get(server).write(message+"\n");
|
srvStreamMap.get(server).write(message+"\n");
|
||||||
srvStreamMap.get(server).flush();
|
srvStreamMap.get(server).flush();
|
||||||
|
//System.out.println("W:"+message);
|
||||||
//System.out.println(message);
|
|
||||||
// If this application says something, then pass it into system consumer thread to handle
|
// If this application says something, then pass it into system consumer thread to handle
|
||||||
if (message.startsWith("PRIVMSG")) {
|
if (message.startsWith("PRIVMSG")) {
|
||||||
srvSysConsumersMap.get(server).println("INNA "+message);
|
srvSysConsumersMap.get(server).println("INNA "+message);
|
||||||
|
|
|
@ -214,7 +214,7 @@ public class SystemConsumer implements Runnable{
|
||||||
proxyAList.put(message, new ArrayList<>()); // Add new channel name to proxy watch-list
|
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
|
proxyAList.get(message).add(eventNum+" "+sender+" "+message); // Add message to array linked
|
||||||
this.proxyRequired = true; // Ask for proxy validators
|
this.proxyRequired = true; // Ask for proxy validators
|
||||||
writerWorker.logAdd("[system]", "joined to channel ", "message");
|
writerWorker.logAdd("[system]", "joined to channel ", message);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue