diff options
author | gepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-03-13 19:00:49 +0000 |
---|---|---|
committer | gepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-03-13 19:00:49 +0000 |
commit | 239a6b0dbb53c6a1c0df2f90a43627ab144255ea (patch) | |
tree | b26bc06f4bba7a73e4e0e87836123a80c690f9ad /src/char | |
parent | d09a65227657845550ba2ea310c5cf669646d433 (diff) | |
download | hercules-239a6b0dbb53c6a1c0df2f90a43627ab144255ea.tar.gz hercules-239a6b0dbb53c6a1c0df2f90a43627ab144255ea.tar.bz2 hercules-239a6b0dbb53c6a1c0df2f90a43627ab144255ea.tar.xz hercules-239a6b0dbb53c6a1c0df2f90a43627ab144255ea.zip |
Fixed mail system not notifying about new messages that were received from another map-server (bugreport:1651).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15684 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char')
-rw-r--r-- | src/char/int_mail.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/char/int_mail.c b/src/char/int_mail.c index b19b732c7..98da43aeb 100644 --- a/src/char/int_mail.c +++ b/src/char/int_mail.c @@ -422,7 +422,8 @@ static void mapif_parse_Mail_send(int fd) if( msg.dest_id > 0 ) msg.id = mail_savemessage(&msg); - mapif_Mail_send(fd, &msg); + mapif_Mail_send(fd, &msg); // notify sender + mapif_Mail_new(&msg); // notify recipient } void mail_sendmail(int send_id, const char* send_name, int dest_id, const char* dest_name, const char* title, const char* body, int zeny, struct item *item) |