This commit is contained in:
Dmitry Isaenko 2020-11-02 01:28:08 +03:00
parent d6ccf25775
commit c7e2912045
3 changed files with 4 additions and 4 deletions

View file

@ -85,7 +85,7 @@ public class CTCPHelper {
if (notFoundMessage == null)
continue;
System.out.println(serverReplied + " PRIVMSG " + channelOrUser + " :" + notFoundMessage + whoNotFound);
//System.out.println(serverReplied + " PRIVMSG " + channelOrUser + " :" + notFoundMessage + whoNotFound);
StreamProvider.writeToStream(serverReplied, "PRIVMSG " + channelOrUser + " :" + notFoundMessage + whoNotFound);
}
}

View file

@ -123,7 +123,7 @@ public class SystemConsumer implements Runnable{
+ " [nickname already in use and will be changed]");
break;
case "353":
writerWorker.log("catch/handled:", eventNum+" [RPL_NAMREPLY]");
writerWorker.log("handled:", eventNum+" [RPL_NAMREPLY]");
String channelName = message.substring(nick.length()+3).replaceAll("\\s.*$", "");
IrcChannel ircChannel = channels.get(channelName);
@ -151,7 +151,7 @@ public class SystemConsumer implements Runnable{
Thread newIrcChannelThread = new Thread(consumer);
newIrcChannelThread.start();
channelThreads.add(newIrcChannelThread);
//proxyAList.get(message).add(eventNum+" "+sender+" "+message); // Add message to array linked
newIrcChannel.getChannelQueue().add(sender+" "+eventNum+" "+message);
writerWorker.log("joined channel ", message);
}
break;

View file

@ -87,7 +87,7 @@ public class WorkerSystem{
if (consistent)
logToFile(message);
else
System.out.println(message);
System.out.print(message);
}
private void logToFile(String message){
try {