mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
Send the CAP LS after sending the proxy strings
Patch by @dequis
This commit is contained in:
parent
2d7030a844
commit
b0e7c18376
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user