commit b15d906dff84b35ebd05df44aa13e67c9c938fd2 from: Alexander Barton date: Tue Aug 02 23:19:21 2005 UTC The KILL command killed much more than desired (including server links!) when the target user is connected to a remote server. [from 0.9.x] commit - 1c14e2e0a227c1c883ae793e46353a439b325fc4 commit + b15d906dff84b35ebd05df44aa13e67c9c938fd2 blob - 5e7b4cfb72e40c501d6383cc7f9ded946ea4a8cc blob + 0d58e84c537e5f404a62935bb8519f7cec3e1aea --- ChangeLog +++ ChangeLog @@ -20,6 +20,12 @@ ngIRCd CVSHEAD lookup to prevent spoofing. - Added new IO layer which (optionally) supports epoll() and kqueue() in addition to the select() interface. + +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 , Thanks! ngIRCd 0.9.0 (2005-07-24) @@ -623,4 +629,4 @@ ngIRCd 0.0.1, 31.12.2001 -- -$Id: ChangeLog,v 1.284 2005/07/31 20:13:07 alex Exp $ +$Id: ChangeLog,v 1.285 2005/08/02 23:19:21 alex Exp $ blob - b0328d223355a41600fbfc7bb1131c6d9be0accd blob + 98dda7af2ad6dc198ff61ad368c1e471b4b95d5d --- src/ngircd/irc.c +++ src/ngircd/irc.c @@ -14,7 +14,7 @@ #include "portab.h" -static char UNUSED id[] = "$Id: irc.c,v 1.127 2005/07/31 20:13:08 alex Exp $"; +static char UNUSED id[] = "$Id: irc.c,v 1.128 2005/08/02 23:19:22 alex Exp $"; #include "imp.h" #include @@ -151,7 +151,7 @@ IRC_KILL( CLIENT *Client, REQUEST *Req ) } /* Kill client NOW! */ - conn = Client_Conn( Client_NextHop( c )); + conn = Client_Conn( c ); Client_Destroy( c, NULL, reason, false ); if( conn > NONE ) Conn_Close( conn, NULL, reason, true );