I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 6b49c03e authored by kytv's avatar kytv
Browse files

Add MOTD and ADMIN to the "do not filter" list

parent 95dd34f0
No related branches found
No related tags found
No related merge requests found
...@@ -147,7 +147,7 @@ abstract class IRCFilter { ...@@ -147,7 +147,7 @@ abstract class IRCFilter {
* @return the original or modified line, or null if it should be dropped. * @return the original or modified line, or null if it should be dropped.
*/ */
public static String outboundFilter(String s, StringBuffer expectedPong, DCCHelper helper) { public static String outboundFilter(String s, StringBuffer expectedPong, DCCHelper helper) {
String field[]=s.split(" ",3); String field[]=s.split(" ",3);
String command; String command;
final String[] allowedCommands = final String[] allowedCommands =
...@@ -160,6 +160,8 @@ abstract class IRCFilter { ...@@ -160,6 +160,8 @@ abstract class IRCFilter {
"WHOIS", "WHOIS",
"LIST", "LIST",
"NAMES", "NAMES",
"ADMIN",
"MOTD",
"PASS", "PASS",
// "QUIT", // replace with a filtered QUIT to hide client quit messages // "QUIT", // replace with a filtered QUIT to hide client quit messages
"SILENCE", "SILENCE",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment