mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Merge pull request #1312 from ailin-nemui/nocap
slightly improve nocap detection
This commit is contained in:
commit
5df2d6e300
@ -313,7 +313,8 @@ static void server_init_1(IRC_SERVER_REC *server)
|
||||
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 */
|
||||
irc_send_cmd_now(server, "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);
|
||||
|
Loading…
Reference in New Issue
Block a user