From 18c850c085f4540558771630d8301573c98efb5a Mon Sep 17 00:00:00 2001
From: kytv <kytv@mail.i2p>
Date: Thu, 24 Nov 2011 18:27:55 +0000
Subject: [PATCH] commands that are commonly used by IRCops. Should be
 harmless.

---
 apps/i2ptunnel/java/src/net/i2p/i2ptunnel/irc/IRCFilter.java | 4 ++++
 1 file changed, 4 insertions(+)

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 cab1ae6672..e4051bfce5 100644
--- a/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/irc/IRCFilter.java
+++ b/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/irc/IRCFilter.java
@@ -180,6 +180,10 @@ abstract class IRCFilter {
                 "STATSERV",
                 "KICK",
                 "HELPME", "HELPOP",  // helpop is what unrealircd uses by default
+                // IRCop commands
+                "ADCHAT", "ADDMOTD", "ADDOMOTD", "CHATOPS", "CHGHOST", "CHGIDENT", "CHGNAME", "DCCDENY", "DIE",
+                "GLOBOPS", "GZLINE", "KILL", "KLINE", "LOCOPS", "NACHAT", "OPERMOTD", "REHASH", "RESTART", "SAJOIN",
+                "SAMODE", "SAPART", "SDESC", "SETHOST", "SETIDENT", "SHUN", "SPAMFILTER", "TEMPSHUN", "UNDCCDENY",
                 "RULES",
                 "TOPIC",
                 "ISON",    // jIRCii uses this for a ping (response is 303)
-- 
GitLab