package io.jahed.twitchrobot;

import java.util.List;

import org.pircbotx.PircBotX;
import org.pircbotx.ServerInfo;

public class TwitchServerInfo extends ServerInfo {

	public TwitchServerInfo(PircBotX bot) {
		super(bot);
	}
	
	@Override
	public void parse(int code, List<String> parsedLine) {
		//Library assumes too much.
		if(code == 4 && parsedLine.size() < 2) {
			System.err.println("TwitchServerInfo - Code 4 with " + parsedLine);
			return;
		}
		
		super.parse(code, parsedLine);
	}

}

@@ -294,38 +294,8 @@
 ) %7B%0A
-%09%09//Library assumes too much.%0A
 %09%09if
@@ -340,75 +340,80 @@
 %0A%09%09%09
-System.err.println(%22
+//
 Twitch
+ IRC 
 Server
-Info - Code 4 with %22 + parsedLine);
+ has an extra Code 4 response containing user's nick.
 %0A%09%09%09

Remove println for extra IRC handlers