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:
parent
a591c875ae
commit
eb001433e4
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user