From f39a9d8d61f18df6f436de360ef6cd6a51ff1129 Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 9 Jan 2014 15:43:56 +0000 Subject: - send.c:sendto_anywhere(): fix to previous commit. 'to' can be a remote connection not connected to our server git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2792 82007160-df01-0410-b94d-b575c5fd34c7 --- src/send.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/send.c b/src/send.c index 7e6f575..5cae833 100644 --- a/src/send.c +++ b/src/send.c @@ -856,7 +856,7 @@ sendto_anywhere(struct Client *to, struct Client *from, char buffer[IRCD_BUFSIZE]; int len = 0; - if (IsDead(to)) + if (IsDead(to->from)) return; if (MyClient(to)) -- cgit