summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-12 08:55:36 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-12 08:55:36 +0000
commit2f6e6453f6296a6335cf6fccbfe0567584ebdbde (patch)
treec1239f5528ea9254381e78aae0f5d520283151f8 /src/map/clif.c
parent164c37ba01a9a727a2134ec606f875d6aa770413 (diff)
downloadhercules-2f6e6453f6296a6335cf6fccbfe0567584ebdbde.tar.gz
hercules-2f6e6453f6296a6335cf6fccbfe0567584ebdbde.tar.bz2
hercules-2f6e6453f6296a6335cf6fccbfe0567584ebdbde.tar.xz
hercules-2f6e6453f6296a6335cf6fccbfe0567584ebdbde.zip
- Important fix to Mail System allowing (by a low change) items duple.
- Added picklog to mail. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11721 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index c5cab5987..0c5ff0362 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -11650,8 +11650,8 @@ void clif_parse_Mail_send(int fd, struct map_session_data *sd)
if (body_len > MAIL_BODY_LENGTH)
body_len = MAIL_BODY_LENGTH;
- if( !mail_getattach(sd, &msg) )
- {
+ if( !mail_setattachment(sd, &msg) )
+ { // Invalid Append condition
clif_Mail_send(sd->fd, 1); // fail
mail_removeitem(sd,0);
mail_removezeny(sd,0);