Emergency patch to I2PTunnelIRCClient, not sure why zero length strings are getting passed to it. Oh, and my first patch\!

This commit is contained in:
polecat
2005-10-15 22:55:14 +00:00
committed by zzz
parent 12775c416d
commit f9d3b157f0
2 changed files with 6 additions and 1 deletions

View File

@ -340,6 +340,10 @@ public class I2PTunnelIRCClient extends I2PTunnelClientBase implements Runnable
"HELPME",
"RULES"
};
if(field[0].length()==0)
return null; // W T F?
if(field[0].charAt(0)==':')
return null; // wtf