mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 21:44:41 +00:00
Add MOTD and ADMIN to the "do not filter" list
This commit is contained in:
1 parent
95dd34f009
commit
6b49c03eb8
1 file changed
+3
-1
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user