1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-26 11:12:19 -05:00

Remove old CAPAB stuff

We already check for identify-msg elsewhere
This commit is contained in:
TingPing 2013-03-25 19:17:44 -04:00
parent e9a3528bbd
commit eda9303ec9
4 changed files with 0 additions and 16 deletions

View File

@ -572,7 +572,6 @@ typedef struct server
unsigned int have_namesx:1; /* 005 tokens NAMESX and UHNAMES */
unsigned int have_uhnames:1;
unsigned int have_whox:1; /* have undernet's WHOX features */
unsigned int have_capab:1; /* supports CAPAB (005 tells us) */
unsigned int have_idmsg:1; /* freenode's IDENTIFY-MSG */
unsigned int have_sasl:1; /* SASL capability */
unsigned int have_except:1; /* ban exemptions +e */

View File

@ -813,12 +813,6 @@ inbound_005 (server * serv, char *word[])
} else if (strcmp (word[w], "WHOX") == 0)
{
serv->have_whox = TRUE;
} else if (strcmp (word[w], "CAPAB") == 0)
{
serv->have_capab = TRUE;
/* 12345678901234567890 */
tcp_send_len (serv, "CAPAB IDENTIFY-MSG\r\n", 20);
/* now wait for numeric 290 */
} else if (strcmp (word[w], "EXCEPTS") == 0)
{
#ifndef WIN32

View File

@ -518,14 +518,6 @@ process_numeric (session * sess, int n,
}
goto def;
case 290: /* CAPAB reply */
if (strstr (word_eol[1], "IDENTIFY-MSG"))
{
serv->have_idmsg = TRUE;
break;
}
goto def;
case 301:
inbound_away (serv, word[4],
(word_eol[5][0] == ':') ? word_eol[5] + 1 : word_eol[5]);

View File

@ -1886,7 +1886,6 @@ server_set_defaults (server *serv)
serv->have_namesx = FALSE;
serv->have_uhnames = FALSE;
serv->have_whox = FALSE;
serv->have_capab = FALSE;
serv->have_idmsg = FALSE;
serv->have_sasl = FALSE;
serv->have_except = FALSE;