summaryrefslogtreecommitdiff
path: root/src/connection.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-16 14:24:42 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-16 14:24:42 +0000
commitc1d478f928e202dadf717fd3552a136192d6fe17 (patch)
treea929aab462d28c3f70c98a692c1a4b051fd5ccc8 /src/connection.cpp
parenta9682a795a548eee1db19f424f1cb1ef236538dd (diff)
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
Diffstat (limited to 'src/connection.cpp')
-rw-r--r--src/connection.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}