mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-22 17:22:18 -05:00
Omit CHALLENGE hashes in the server tab
This commit is contained in:
parent
4130954c15
commit
ef58a267b0
@ -1086,7 +1086,7 @@ process_named_msg (session *sess, char *type, char *word[], char *word_eol[])
|
|||||||
|
|
||||||
case WORDL('N','O','T','I'):
|
case WORDL('N','O','T','I'):
|
||||||
{
|
{
|
||||||
int id = FALSE; /* identified */
|
int id = FALSE; /* identified */
|
||||||
char *response;
|
char *response;
|
||||||
|
|
||||||
text = word_eol[4];
|
text = word_eol[4];
|
||||||
@ -1095,7 +1095,7 @@ process_named_msg (session *sess, char *type, char *word[], char *word_eol[])
|
|||||||
text++;
|
text++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!strncmp (text, "CHALLENGE ", 10)) /* QuakeNet CHALLENGEAUTH upon our request */
|
if (!strncmp (text, "CHALLENGE ", 10)) /* QuakeNet CHALLENGE upon our request */
|
||||||
{
|
{
|
||||||
response = challengeauth_response (((ircnet *)serv->network)->user ? ((ircnet *)serv->network)->user : prefs.hex_irc_user_name, serv->password, word[5]);
|
response = challengeauth_response (((ircnet *)serv->network)->user ? ((ircnet *)serv->network)->user : prefs.hex_irc_user_name, serv->password, word[5]);
|
||||||
|
|
||||||
@ -1106,6 +1106,7 @@ process_named_msg (session *sess, char *type, char *word[], char *word_eol[])
|
|||||||
CHALLENGEAUTH_ALGO);
|
CHALLENGEAUTH_ALGO);
|
||||||
|
|
||||||
g_free (response);
|
g_free (response);
|
||||||
|
return; /* omit the CHALLENGE <hash> ALGOS message */
|
||||||
}
|
}
|
||||||
|
|
||||||
if (serv->have_idmsg)
|
if (serv->have_idmsg)
|
||||||
|
Loading…
Reference in New Issue
Block a user