* I2PTunnelIRCClient: Filter PART messages like we do for QUIT

This commit is contained in:
zzz
2010-07-05 14:21:38 +00:00
parent 29bc53d618
commit 5f52edf831
3 changed files with 11 additions and 2 deletions

View File

@ -387,7 +387,7 @@ public class I2PTunnelIRCClient extends I2PTunnelClientBase implements Runnable
// "QUIT", // replace with a filtered QUIT to hide client quit messages
"SILENCE",
"MAP", // seems safe enough, the ircd should protect themselves though
"PART",
// "PART", // replace with filtered PART to hide client part messages
"OPER",
// "PONG", // replaced with a filtered PING/PONG since some clients send the server IP (thanks aardvax!)
// "PING",
@ -491,6 +491,11 @@ public class I2PTunnelIRCClient extends I2PTunnelClientBase implements Runnable
return ret;
}
if ("PART".equals(command)) {
// hide client message
return "PART " + field[1] + " :leaving";
}
if ("QUIT".equals(command)) {
return "QUIT :leaving";
}

View File

@ -1,3 +1,7 @@
2010-07-05 zzz
* i2psnark: Fix transition to end game
* I2PTunnelIRCClient: Filter PART messages like we do for QUIT
2010-07-05 duck
* I2PTunnel & I2PSnark: Dutch translation (thanks to monkeybrains)

View File

@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */
public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 7;
public final static long BUILD = 8;
/** for example "-test" */
public final static String EXTRA = "";