summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/chrif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index 36f57a892..239880f88 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -401,7 +401,7 @@ int chrif_changemapserverack(int account_id, int login_id1, int login_id2, int c
clif_changemapserver(node->sd, map_index, x, y, ntohl(ip), ntohs(port));
//Free session data from this map server [Kevin]
- unit_free_pc(sd);
+ unit_free_pc(node->sd);
//Player has been saved already, remove him from memory. [Skotlex]
chrif_auth_delete(account_id, char_id, ST_MAPCHANGE);