summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/connection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/connection.cpp b/src/connection.cpp
index 357295245..4161b0447 100644
--- a/src/connection.cpp
+++ b/src/connection.cpp
@@ -166,12 +166,12 @@ bool connection::BeginLink(char* targethost, int port, char* password, char* ser
char connect[MAXBUF];
ircd_connector connector;
- ircd_connector *cn = this->FindServer(servername);
+ ircd_connector *cn = this->FindHost(servername);
if (cn)
{
- WriteOpers("CONNECT aborted: Server %s already exists from %s",servername,ServerName);
+ WriteOpers("CONNECT aborted: Server %s already exists",servername);
return false;
}