summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTingPing <tngpng@gmail.com>2013-06-09 15:55:56 -0300
committerTingPing <tngpng@gmail.com>2013-06-09 15:55:56 -0300
commiteb001433e45de7630660af37e38c684ef036c188 (patch)
treee673caca08e812769845bbbd686ba9ba54420cbc
parenta591c875ae6b470c0e00e49df8ab38c3cd7296a1 (diff)
Emit FOUNDIP in server session
-rw-r--r--src/common/inbound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/inbound.c b/src/common/inbound.c
index b5842b3f..b1b739e5 100644
--- a/src/common/inbound.c
+++ b/src/common/inbound.c
@@ -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);
 	}