diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-07 17:38:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-15 11:47:29 +0300 |
commit | 8338483dd4c41bc9831bebc9d6dc1808247fc497 (patch) | |
tree | 62af0b36fdd3552eda22e3197f1d3e0e7fb30fc1 /src/char/int_mail.c | |
parent | 9658066ce2f411375b9876d0c02737752b816e58 (diff) | |
download | hercules-8338483dd4c41bc9831bebc9d6dc1808247fc497.tar.gz hercules-8338483dd4c41bc9831bebc9d6dc1808247fc497.tar.bz2 hercules-8338483dd4c41bc9831bebc9d6dc1808247fc497.tar.xz hercules-8338483dd4c41bc9831bebc9d6dc1808247fc497.zip |
Add most functions from char.c to interfaces.
Introduced interfaces: chr, mapif, loginif.
Diffstat (limited to 'src/char/int_mail.c')
-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 f3c039e29..f0cf4ce7c 100644 --- a/src/char/int_mail.c +++ b/src/char/int_mail.c @@ -12,6 +12,7 @@ #include "char.h" #include "inter.h" +#include "mapif.h" #include "../common/malloc.h" #include "../common/mmo.h" #include "../common/showmsg.h" @@ -342,7 +343,7 @@ void mapif_Mail_new(struct mail_message *msg) WBUFL(buf,6) = msg->id; memcpy(WBUFP(buf,10), msg->send_name, NAME_LENGTH); memcpy(WBUFP(buf,34), msg->title, MAIL_TITLE_LENGTH); - mapif_sendall(buf, 74); + mapif->sendall(buf, 74); } /*========================================== |