From 95dd34f0092c2ca5fade002ba1deea8f93a32bb5 Mon Sep 17 00:00:00 2001
From: kytv <kytv@mail.i2p>
Date: Thu, 24 Nov 2011 10:40:15 +0000
Subject: [PATCH] Since they're harmless, add default unrealircd aliases to the
 "don't filter" list.

---
 .../java/src/net/i2p/i2ptunnel/irc/IRCFilter.java  | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

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 061966e0ec..5967486528 100644
--- a/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/irc/IRCFilter.java
+++ b/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/irc/IRCFilter.java
@@ -166,10 +166,18 @@ abstract class IRCFilter {
                 "MAP", // seems safe enough, the ircd should protect themselves though
                 // "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", 
+                // "PONG", // replaced with a filtered PING/PONG since some clients send the server IP (thanks aardvax!)
+                // "PING",
+                "NICKSERV", "NS", // the next few are default aliases on unreal (+ anope)
+                "CHANSERV", "CS",
+                "MEMOSERV", "MS",
+                "OPERSERV", "OS",
+                "HELPSERV",
+                "HOSTSERV", "HS",
+                "BOTSERV", "BS",
+                "STATSERV",
                 "KICK",
-                "HELPME",
+                "HELPME", "HELPOP",  // helpop is what unrealircd uses by default
                 "RULES",
                 "TOPIC",
                 "ISON",    // jIRCii uses this for a ping (response is 303)
-- 
GitLab