diff options
Diffstat (limited to 'src/protocol/unreal32.c')
-rw-r--r-- | src/protocol/unreal32.c | 4 |
1 files changed, 1 insertions, 3 deletions
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); } |