Commit Diff


commit - 1bcc64721f5f77beb59a56daa9940da95bbb4ffa
commit + ec016a89e25a564ae720ed6e5f9fdd417f2c7113
blob - 83da5eea53fda07a19e1761750da386d6447282b
blob + 1fb6f30b4adbb0e6a102fc9f6f07b07a1cabaefd
--- ChangeLog
+++ ChangeLog
@@ -12,8 +12,9 @@
 
 ngIRCd 0.6.x-CVS
 
-  - Fixed KILL: you can't crash the server by killing yourself any more;
-    and ngIRCd no longer sends a QUIT to other servers after the KILL.
+  - Fixed KILL: you can't crash the server by killing yourself any more,
+    ngIRCd no longer sends a QUIT to other servers after the KILL, and you
+    can kill only valid users now.
 
 
 Older changes (sorry, only available in german language):
@@ -377,4 +378,4 @@ ngIRCd 0.0.1, 31.12.2001
 
 
 -- 
-$Id: ChangeLog,v 1.147.2.4 2002/12/26 19:01:29 alex Exp $
+$Id: ChangeLog,v 1.147.2.5 2002/12/27 13:37:43 alex Exp $
blob - 99c0627125cc72eae6a8ecb65662a497abf0646f
blob + b95805b4616edb3ed9394e3a223ac9288d161179
--- src/ngircd/irc.c
+++ src/ngircd/irc.c
@@ -14,7 +14,7 @@
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: irc.c,v 1.107.2.1 2002/12/26 19:01:29 alex Exp $";
+static char UNUSED id[] = "$Id: irc.c,v 1.107.2.2 2002/12/27 13:37:43 alex Exp $";
 
 #include "imp.h"
 #include <assert.h>
@@ -82,7 +82,7 @@ IRC_KILL( CLIENT *Client, REQUEST *Req )
 
 	/* Do we host such a client? */
 	c = Client_Search( Req->argv[0] );
-	if( c )
+	if( c && Client_Type( c ) == CLIENT_USER )
 	{
 		/* Yes, I found it! */
 		conn = Client_Conn( c );