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:
@ -340,6 +340,10 @@ public class I2PTunnelIRCClient extends I2PTunnelClientBase implements Runnable
|
|||||||
"HELPME",
|
"HELPME",
|
||||||
"RULES"
|
"RULES"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if(field[0].length()==0)
|
||||||
|
return null; // W T F?
|
||||||
|
|
||||||
|
|
||||||
if(field[0].charAt(0)==':')
|
if(field[0].charAt(0)==':')
|
||||||
return null; // wtf
|
return null; // wtf
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/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 $*
|
||||||
|
Reference in New Issue
Block a user