diff options
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/core/irc-servers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/core/irc-servers.c b/src/irc/core/irc-servers.c index 335c88ef..58dc9b25 100644 --- a/src/irc/core/irc-servers.c +++ b/src/irc/core/irc-servers.c @@ -202,8 +202,6 @@ static void server_init(IRC_SERVER_REC *server) conn = server->connrec; - irc_send_cmd_now(server, "CAP LS"); - if (conn->proxy != NULL && conn->proxy_password != NULL && *conn->proxy_password != '\0') { cmd = g_strdup_printf("PASS %s", conn->proxy_password); @@ -217,6 +215,8 @@ static void server_init(IRC_SERVER_REC *server) g_free(cmd); } + irc_send_cmd_now(server, "CAP LS"); + if (conn->password != NULL && *conn->password != '\0') { /* send password */ cmd = g_strdup_printf("PASS %s", conn->password); |