mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-26 11:12:19 -05:00
Remove identd text event coz it doesn't work
This commit is contained in:
parent
21b3267e8a
commit
c45fbe1bb3
@ -58,7 +58,11 @@ identd (char *username)
|
|||||||
|
|
||||||
identd_is_running = FALSE;
|
identd_is_running = FALSE;
|
||||||
|
|
||||||
|
#if 0 /* causes random crashes, probably due to CreateThread */
|
||||||
EMIT_SIGNAL (XP_TE_IDENTD, current_sess, inet_ntoa (addr.sin_addr), username, NULL, NULL, 0);
|
EMIT_SIGNAL (XP_TE_IDENTD, current_sess, inet_ntoa (addr.sin_addr), username, NULL, NULL, 0);
|
||||||
|
#endif
|
||||||
|
snprintf (outbuf, sizeof (outbuf), "*\tServicing ident request from %s as %s\n", inet_ntoa (addr.sin_addr), username);
|
||||||
|
PrintText (current_sess, outbuf);
|
||||||
|
|
||||||
recv (read_sok, buf, sizeof (buf) - 1, 0);
|
recv (read_sok, buf, sizeof (buf) - 1, 0);
|
||||||
buf[sizeof (buf) - 1] = 0; /* ensure null termination */
|
buf[sizeof (buf) - 1] = 0; /* ensure null termination */
|
||||||
@ -141,7 +145,11 @@ identd_ipv6 (char *username)
|
|||||||
snprintf (ipv6buf, sizeof (ipv6buf) - 1, "[SOCKET ERROR: 0x%X]", WSAGetLastError ());
|
snprintf (ipv6buf, sizeof (ipv6buf) - 1, "[SOCKET ERROR: 0x%X]", WSAGetLastError ());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0 /* causes random crashes, probably due to CreateThread */
|
||||||
EMIT_SIGNAL (XP_TE_IDENTD, current_sess, ipv6buf, username, NULL, NULL, 0);
|
EMIT_SIGNAL (XP_TE_IDENTD, current_sess, ipv6buf, username, NULL, NULL, 0);
|
||||||
|
#endif
|
||||||
|
snprintf (outbuf, sizeof (outbuf), "*\tServicing ident request from %s as %s\n", ipv6buf, username);
|
||||||
|
PrintText (current_sess, outbuf);
|
||||||
|
|
||||||
recv (read_sok, buf, sizeof (buf) - 1, 0);
|
recv (read_sok, buf, sizeof (buf) - 1, 0);
|
||||||
buf[sizeof (buf) - 1] = 0; /* ensure null termination */
|
buf[sizeof (buf) - 1] = 0; /* ensure null termination */
|
||||||
|
@ -1143,10 +1143,12 @@ static char * const pevt_genmsg_help[] = {
|
|||||||
N_("Right message"),
|
N_("Right message"),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if 0
|
||||||
static char * const pevt_identd_help[] = {
|
static char * const pevt_identd_help[] = {
|
||||||
N_("IP address"),
|
N_("IP address"),
|
||||||
N_("Username")
|
N_("Username")
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
static char * const pevt_join_help[] = {
|
static char * const pevt_join_help[] = {
|
||||||
N_("The nick of the joining person"),
|
N_("The nick of the joining person"),
|
||||||
|
@ -424,12 +424,6 @@ pevt_genmsg_help
|
|||||||
$1$t$2
|
$1$t$2
|
||||||
n2
|
n2
|
||||||
|
|
||||||
Identd
|
|
||||||
XP_TE_IDENTD
|
|
||||||
pevt_identd_help
|
|
||||||
%C23*%O$tServicing ident request from %C23$1%O as %C18$2%O
|
|
||||||
2
|
|
||||||
|
|
||||||
Ignore Add
|
Ignore Add
|
||||||
XP_TE_IGNOREADD
|
XP_TE_IGNOREADD
|
||||||
pevt_ignoreaddremove_help
|
pevt_ignoreaddremove_help
|
||||||
|
Loading…
Reference in New Issue
Block a user