diff options
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 9ac4af66b..073382f71 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -8332,7 +8332,7 @@ atcommand_trade( if (!message || !*message)
return -1;
if((pl_sd=map_nick2sd((char *) message)) != NULL) {
- trade_traderequest(sd, pl_sd->bl.id);
+ trade_traderequest(sd, pl_sd);
return 0;
}
return -1;
|