diff options
Diffstat (limited to 'src/connection.cpp')
-rw-r--r-- | src/connection.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/connection.cpp b/src/connection.cpp index 2ab984332..357295245 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -166,6 +166,15 @@ bool connection::BeginLink(char* targethost, int port, char* password, char* ser char connect[MAXBUF]; ircd_connector connector; + ircd_connector *cn = this->FindServer(servername); + + + if (cn) + { + WriteOpers("CONNECT aborted: Server %s already exists from %s",servername,ServerName); + return false; + } + if (this->fd) { |