From 1f5b0f550c7d1ba4693022c51ee5a021e90f70b1 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 16 Apr 2004 15:12:45 +0000 Subject: More linkback fixes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@620 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 8cbd60ff5..55a38a353 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -6427,8 +6427,11 @@ void handle_plus(char token,char* params,serverrec* source,serverrec* reply, cha { if (!strcasecmp(me[i]->connectors[j].GetServerName().c_str(),servername)) { - log(DEBUG,"Already got a connection to %s:%d, ignoring +",ipaddr,atoi(ipport)); - conn_already = true; + if (me[i]->connectors[j].GetServerPort() == atoi(ipport)) + { + log(DEBUG,"Already got a connection to %s:%d, ignoring +",ipaddr,atoi(ipport)); + conn_already = true; + } } } } -- cgit v1.2.3