diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-16 19:31:31 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-16 19:31:31 +0000 |
commit | ffbcff160474cd45fbcbbadaff32f38e1d7fea71 (patch) | |
tree | 4155ce7bb17b63cc1bdf40a99a89c1b34a66aef2 /src/protocol/bahamut.c | |
parent | 72a4c7e6c7a4187bfee58bdbf3c235f2b0ae44c7 (diff) |
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
Diffstat (limited to 'src/protocol/bahamut.c')
-rw-r--r-- | src/protocol/bahamut.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/protocol/bahamut.c b/src/protocol/bahamut.c index 9effddb20..424a5da8b 100644 --- a/src/protocol/bahamut.c +++ b/src/protocol/bahamut.c @@ -721,9 +721,7 @@ class BahamutIRCdProto : public IRCDProto void SendConnect() { me_server = new_server(NULL, ServerName, ServerDesc, SERVER_ISME, NULL); - if (servernum == 1) bahamut_cmd_pass(RemotePassword); - else if (servernum == 2) bahamut_cmd_pass(RemotePassword2); - else if (servernum == 3) bahamut_cmd_pass(RemotePassword3); + bahamut_cmd_pass(uplink_server->password); bahamut_cmd_capab(); SendServer(ServerName, 1, ServerDesc); bahamut_cmd_svinfo(); |