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

View File

@ -1,2 +1,3 @@
#!/bin/sh
java -cp lib/i2p.jar net.i2p.util.EepGet $*
export I2P=~i2p/i2p
java -cp $I2P/lib/i2p.jar net.i2p.util.EepGet $*