summaryrefslogtreecommitdiff
path: root/src/map/party.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/party.c')
-rw-r--r--src/map/party.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/party.c b/src/map/party.c
index 90689a612..68a209172 100644
--- a/src/map/party.c
+++ b/src/map/party.c
@@ -121,7 +121,7 @@ int party_created(int account_id,int char_id,int fail,int party_id,char *name)
sd->status.party_id=party_id;
if(idb_get(party_db,party_id)!=NULL){
ShowFatalError("party: id already exists!\n");
- exit(1);
+ exit(EXIT_FAILURE);
}
p=(struct party_data *)aCalloc(1,sizeof(struct party_data));
p->party.party_id=party_id;