From 2239ad20a1420686bd58349ae4e364ecbc30d871 Mon Sep 17 00:00:00 2001 From: MadCamel Date: Fri, 8 Oct 2010 06:11:42 -0400 Subject: map-server now stores IP address in session_data when player connects This is to be used for @ipcheck, sending GMs IP identifiers, and clone blocking. --- src/map/map.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/map/map.h') diff --git a/src/map/map.h b/src/map/map.h index 9934fdf..dde7d7f 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -6,6 +6,7 @@ #include #include #include +#include #include "mmo.h" #ifndef MAX @@ -400,6 +401,8 @@ struct map_session_data unsigned int flood_rates[0x220]; time_t packet_flood_reset_due; int packet_flood_in; + + in_addr_t ip; }; struct npc_timerevent_list -- cgit v1.2.3-60-g2f50