Merge Irssi 0.8.16-rc1
[silc.git] / apps / irssi / src / silc / core / client_ops.c
index b3b6cdbc59b2112d4eab5898dae76dd594cd28d0..99db2f5b74e6fb18a071f92739d62fd72867d32a 100644 (file)
@@ -2869,7 +2869,7 @@ void silc_get_auth_method(SilcClient client, SilcClientConnection conn,
 
   /* Check whether we find the password for this server in our
      configuration.  If it's set, always send it server. */
-  setup = server_setup_find_port(hostname, port);
+  setup = server_setup_find(hostname, port, "silcnet");
   if (setup && setup->password) {
     completion(SILC_AUTH_PASSWORD, setup->password, strlen(setup->password),
               context);