mirror of
https://github.com/irssi/irssi.git
synced 2026-08-22 01:52:19 +02:00
Restore program to working state
This commit is contained in:
parent
f32d0ab51a
commit
7318f0cc80
1 changed files with 1 additions and 11 deletions
|
|
@ -309,16 +309,6 @@ static void server_init_1(IRC_SERVER_REC *server)
|
||||||
server->wait_cmd = g_get_real_time();
|
server->wait_cmd = g_get_real_time();
|
||||||
server->wait_cmd += 120 * G_USEC_PER_SEC;
|
server->wait_cmd += 120 * G_USEC_PER_SEC;
|
||||||
|
|
||||||
if (!conn->no_cap) {
|
|
||||||
signal_emit("server waiting cap ls", 2, server, CAP_LS_VERSION);
|
|
||||||
irc_send_cmd_now(server, "CAP LS " CAP_LS_VERSION);
|
|
||||||
/* to detect non-CAP servers, send this bogus join */
|
|
||||||
/* the : will make INSPIRCD respond with 451 instead of 461, too */
|
|
||||||
irc_send_cmd_now(server, "JOIN :");
|
|
||||||
}
|
|
||||||
if (conn->starttls)
|
|
||||||
irc_server_send_starttls(server);
|
|
||||||
else if (conn->no_cap)
|
|
||||||
server_init_2(server);
|
server_init_2(server);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue