summaryrefslogtreecommitdiff
path: root/src/map/party.c
diff options
context:
space:
mode:
authoreathenabot <eathenabot@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-17 06:53:19 +0000
committereathenabot <eathenabot@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-17 06:53:19 +0000
commit00163cbb0bdf654bfc8a04ef9e7f5e9f2efad706 (patch)
tree392f5a42264939994bafb438f71d697d05253047 /src/map/party.c
parentc5460b307a161cc0ff7209e04d278ff8ed131ba6 (diff)
downloadhercules-00163cbb0bdf654bfc8a04ef9e7f5e9f2efad706.tar.gz
hercules-00163cbb0bdf654bfc8a04ef9e7f5e9f2efad706.tar.bz2
hercules-00163cbb0bdf654bfc8a04ef9e7f5e9f2efad706.tar.xz
hercules-00163cbb0bdf654bfc8a04ef9e7f5e9f2efad706.zip
* Merged changes up to eAthena 15061.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15477 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/party.c')
-rw-r--r--src/map/party.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/party.c b/src/map/party.c
index 0ddf5c9b9..377d467cb 100644
--- a/src/map/party.c
+++ b/src/map/party.c
@@ -1174,6 +1174,11 @@ void party_booking_register(struct map_session_data *sd, short level, short mapi
pb_ad = create_party_booking_data();
idb_put(party_booking_db, sd->status.char_id, pb_ad);
}
+ else
+ {// already registered
+ clif_PartyBookingRegisterAck(sd, 2);
+ return;
+ }
memcpy(pb_ad->charname,sd->status.name,NAME_LENGTH);
pb_ad->starttime = (int)time(NULL);