1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-22 17:22:18 -05:00

Emit FOUNDIP in server session

This commit is contained in:
TingPing 2013-06-09 15:55:56 -03:00
parent a591c875ae
commit eb001433e4

View File

@ -1286,7 +1286,7 @@ inbound_foundip (session *sess, char *ip)
if (HostAddr) if (HostAddr)
{ {
prefs.dcc_ip = ((struct in_addr *) HostAddr->h_addr)->s_addr; prefs.dcc_ip = ((struct in_addr *) HostAddr->h_addr)->s_addr;
EMIT_SIGNAL (XP_TE_FOUNDIP, sess, EMIT_SIGNAL (XP_TE_FOUNDIP, sess->server->server_session,
inet_ntoa (*((struct in_addr *) HostAddr->h_addr)), inet_ntoa (*((struct in_addr *) HostAddr->h_addr)),
NULL, NULL, NULL, 0); NULL, NULL, NULL, 0);
} }