mirror of
https://github.com/osmarks/ngircd.git
synced 2025-08-04 12:54:14 +00:00
- Fixed up KILL once more: it can't kill other clients than valid users now.
This commit is contained in:
parent
1bcc64721f
commit
ec016a89e2
@ -12,8 +12,9 @@
|
|||||||
|
|
||||||
ngIRCd 0.6.x-CVS
|
ngIRCd 0.6.x-CVS
|
||||||
|
|
||||||
- Fixed KILL: you can't crash the server by killing yourself any more;
|
- 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.
|
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):
|
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 $
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include "portab.h"
|
#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 "imp.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
@ -82,7 +82,7 @@ IRC_KILL( CLIENT *Client, REQUEST *Req )
|
|||||||
|
|
||||||
/* Do we host such a client? */
|
/* Do we host such a client? */
|
||||||
c = Client_Search( Req->argv[0] );
|
c = Client_Search( Req->argv[0] );
|
||||||
if( c )
|
if( c && Client_Type( c ) == CLIENT_USER )
|
||||||
{
|
{
|
||||||
/* Yes, I found it! */
|
/* Yes, I found it! */
|
||||||
conn = Client_Conn( c );
|
conn = Client_Conn( c );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user