From 8338483dd4c41bc9831bebc9d6dc1808247fc497 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 7 Nov 2014 17:38:31 +0300 Subject: Add most functions from char.c to interfaces. Introduced interfaces: chr, mapif, loginif. --- src/char/int_mail.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/char/int_mail.c') 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); } /*========================================== -- cgit v1.2.3-60-g2f50