Menu

#1 old style KILL message patch

open
nobody
None
5
2004-06-27
2004-06-27
Digit
No

Patch for PJIRC 2.0.1 which adds support for old style
kills (yes some servers out there use them) and updates
nicklists.

--- IRCServer.java.orig Sun Apr 18 22:11:52 2004
+++ IRCServer.java Thu May 20 18:55:18 2004
@@ -1265,6 +1265,13 @@
else
globalNickRemove(nick,"");
}
+ else if(command.equals("kill"))
+ {
+ if(params[1].length()>0)
+ globalNickRemove(params[0],"Killed by "+nick+"
("+params[1]+")");
+ else
+ globalNickRemove(params[0],"Killed by "+nick);
+ }
else if(command.equals("ping"))
{
execute("pong :"+params[0]);

Discussion


Log in to post a comment.