diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-16 15:12:45 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-16 15:12:45 +0000 |
commit | 1f5b0f550c7d1ba4693022c51ee5a021e90f70b1 (patch) | |
tree | b102c212850505bd288d7d5391af5c58c4d180a9 /src/inspircd.cpp | |
parent | b71e1e7cf5faa81bf68d9f76959cee00491ddd2e (diff) |
More linkback fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@620 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 7 |
1 files 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; + } } } } |