diff options
| author | Alexander Barton <alex@barton.de> | 2005-08-02 23:19:21 +0000 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2005-08-02 23:19:21 +0000 |
| commit | b15d906dff84b35ebd05df44aa13e67c9c938fd2 (patch) | |
| tree | aa2ce63115c7f90f635049c2f2687b88e9a945c3 /src | |
| parent | 1c14e2e0a227c1c883ae793e46353a439b325fc4 (diff) | |
| download | ngircd-b15d906dff84b35ebd05df44aa13e67c9c938fd2.tar.gz ngircd-b15d906dff84b35ebd05df44aa13e67c9c938fd2.zip | |
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]
Diffstat (limited to 'src')
| -rw-r--r-- | src/ngircd/irc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngircd/irc.c b/src/ngircd/irc.c index b0328d22..98dda7af 100644 --- a/src/ngircd/irc.c +++ b/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 <assert.h> @@ -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 ); |