diff options
-rw-r--r-- | src/map/party.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/party.c b/src/map/party.c index 7d8cdaf..73f85c4 100644 --- a/src/map/party.c +++ b/src/map/party.c @@ -251,7 +251,7 @@ int party_reply_invite(struct map_session_data *sd,int account_id,int flag) int party_member_added(int party_id,int account_id,int flag) { struct map_session_data *sd= map_id2sd(account_id),*sd2; - if(sd==NULL && flag==0){ + if(sd==NULL || flag==0){ if(battle_config.error_log) printf("party: member added error %d is not online\n",account_id); intif_party_leave(party_id,account_id); // キャラ側に登録できなかったため脱退要求を出す |