mirror of
https://github.com/anope/anope.git
synced 2026-07-04 19:13:12 +02:00
Added support for multiple uplink blocks in the new config.
Moved the type and id directives from the uplink block to the serverinfo block. Small config fixes. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1746 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -606,9 +606,7 @@ class InspIRCdProto : public IRCDProto
|
||||
|
||||
void SendConnect()
|
||||
{
|
||||
if (servernum == 1) inspircd_cmd_pass(RemotePassword);
|
||||
else if (servernum == 2) inspircd_cmd_pass(RemotePassword2);
|
||||
else if (servernum == 3) inspircd_cmd_pass(RemotePassword3);
|
||||
inspircd_cmd_pass(uplink_server->password);
|
||||
SendServer(ServerName, 0, ServerDesc);
|
||||
send_cmd(NULL, "BURST");
|
||||
send_cmd(ServerName, "VERSION :Anope-%s %s :%s - %s (%s) -- %s", version_number, ServerName, ircd->name, version_flags, EncModule, version_build);
|
||||
|
||||
Reference in New Issue
Block a user