From c1d478f928e202dadf717fd3552a136192d6fe17 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 16 Apr 2004 14:24:42 +0000 Subject: Fixes to only send SQUIT tokens to servers that are still alive to avoid routing loops git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@614 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/connection.cpp') diff --git a/src/connection.cpp b/src/connection.cpp index a36e9a1df..da8974be3 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -354,7 +354,7 @@ bool connection::SendPacket(char *message, const char* host) } char buffer[MAXBUF]; snprintf(buffer,MAXBUF,"& %s",host); - NetSendToAll(buffer); + NetSendToAllAlive(buffer); log(DEBUG,"There are no routes to %s, we're gonna boot the server off!",host); return false; } -- cgit v1.3.1-10-gc9f91