From ffbcff160474cd45fbcbbadaff32f38e1d7fea71 Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Sun, 16 Nov 2008 19:31:31 +0000 Subject: 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 --- src/protocol/unreal32.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/protocol/unreal32.c') diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c index 5a820f3aa..c0ee75c6c 100644 --- a/src/protocol/unreal32.c +++ b/src/protocol/unreal32.c @@ -739,9 +739,7 @@ class UnrealIRCdProto : public IRCDProto if (Numeric) me_server = new_server(NULL, ServerName, ServerDesc, SERVER_ISME, Numeric); else me_server = new_server(NULL, ServerName, ServerDesc, SERVER_ISME, NULL); unreal_cmd_capab(); - if (servernum == 1) unreal_cmd_pass(RemotePassword); - else if (servernum == 2) unreal_cmd_pass(RemotePassword2); - else if (servernum == 3) unreal_cmd_pass(RemotePassword3); + unreal_cmd_pass(uplink_server->password); SendServer(ServerName, 1, ServerDesc); } -- cgit