From 2f6e6453f6296a6335cf6fccbfe0567584ebdbde Mon Sep 17 00:00:00 2001 From: zephyrus Date: Mon, 12 Nov 2007 08:55:36 +0000 Subject: - 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 --- src/map/clif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/clif.c') 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); -- cgit v1.2.3-60-g2f50