diff options
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 07c270f7c..50b2eb0ca 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -9606,13 +9606,9 @@ void clif_parse_TradeRequest(int fd,struct map_session_data *sd) return; //You can trade while in a chatroom. // @noask [LuzZza] - if(t_sd) { - if (t_sd->state.noask) { - clif_noask_sub(sd, t_sd, 0); - return; - } - if(!t_sd->chatID && clif_cant_act(t_sd)) - return; + if(t_sd && t_sd->state.noask) { + clif_noask_sub(sd, t_sd, 0); + return; } if(battle_config.basic_skill_check == 0 || pc_checkskill(sd,NV_BASIC) >= 1){ |