mirror of
https://github.com/osmarks/ngircd.git
synced 2025-06-09 01:44:09 +00:00
The KILL command killed much more than desired (including server links!)
when the target user is connected to a remote server.
This commit is contained in:
parent
914fbac0f1
commit
eccf4ea5f2
@ -10,6 +10,12 @@
|
|||||||
-- ChangeLog --
|
-- ChangeLog --
|
||||||
|
|
||||||
|
|
||||||
|
ngIRCd 0.9.x
|
||||||
|
|
||||||
|
- The KILL command killed much more than desired (including server links!)
|
||||||
|
when the target user is connected to a remote server. Bug introduced in
|
||||||
|
ngIRCd 0.9.0 ... Reported by <qssl@fastmail.fm>, Thanks!
|
||||||
|
|
||||||
ngIRCd 0.9.0 (2005-07-24)
|
ngIRCd 0.9.0 (2005-07-24)
|
||||||
|
|
||||||
ngIRCd 0.9.0-pre1 (2005-07-09)
|
ngIRCd 0.9.0-pre1 (2005-07-09)
|
||||||
@ -612,4 +618,4 @@ ngIRCd 0.0.1, 31.12.2001
|
|||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
$Id: ChangeLog,v 1.276.2.5 2005/07/24 21:39:45 alex Exp $
|
$Id: ChangeLog,v 1.276.2.6 2005/08/02 23:08:26 alex Exp $
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include "portab.h"
|
#include "portab.h"
|
||||||
|
|
||||||
static char UNUSED id[] = "$Id: irc.c,v 1.126 2005/04/18 15:44:39 alex Exp $";
|
static char UNUSED id[] = "$Id: irc.c,v 1.126.2.1 2005/08/02 23:08:27 alex Exp $";
|
||||||
|
|
||||||
#include "imp.h"
|
#include "imp.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
@ -151,7 +151,7 @@ IRC_KILL( CLIENT *Client, REQUEST *Req )
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Kill client NOW! */
|
/* Kill client NOW! */
|
||||||
conn = Client_Conn( Client_NextHop( c ));
|
conn = Client_Conn( c );
|
||||||
Client_Destroy( c, NULL, reason, false );
|
Client_Destroy( c, NULL, reason, false );
|
||||||
if( conn > NONE )
|
if( conn > NONE )
|
||||||
Conn_Close( conn, NULL, reason, true );
|
Conn_Close( conn, NULL, reason, true );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user