From 6b49c03eb84a40c64bc25950fcf4ac51c19b1ed4 Mon Sep 17 00:00:00 2001 From: kytv <kytv@mail.i2p> Date: Thu, 24 Nov 2011 10:42:18 +0000 Subject: [PATCH] Add MOTD and ADMIN to the "do not filter" list --- apps/i2ptunnel/java/src/net/i2p/i2ptunnel/irc/IRCFilter.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/irc/IRCFilter.java b/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/irc/IRCFilter.java index 5967486528..cab1ae6672 100644 --- a/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/irc/IRCFilter.java +++ b/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/irc/IRCFilter.java @@ -147,7 +147,7 @@ abstract class IRCFilter { * @return the original or modified line, or null if it should be dropped. */ public static String outboundFilter(String s, StringBuffer expectedPong, DCCHelper helper) { - + String field[]=s.split(" ",3); String command; final String[] allowedCommands = @@ -160,6 +160,8 @@ abstract class IRCFilter { "WHOIS", "LIST", "NAMES", + "ADMIN", + "MOTD", "PASS", // "QUIT", // replace with a filtered QUIT to hide client quit messages "SILENCE", -- GitLab