Emit FOUNDIP in server session

This commit is contained in:
TingPing 2013-06-09 15:55:56 -03:00
parent a591c875ae
commit eb001433e4
1 changed files with 1 additions and 1 deletions

View File

@ -1286,7 +1286,7 @@ inbound_foundip (session *sess, char *ip)
if (HostAddr)
{
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)),
NULL, NULL, NULL, 0);
}