From ebf0ba7ddf1ef2c10515a1607ce7d4316e001a61 Mon Sep 17 00:00:00 2001 From: zephyrus Date: Sun, 2 Mar 2008 23:03:22 +0000 Subject: - The last, i hope, fix to the mail system. * kRO have a possible way to read mail by just sending the open mail window packet to the client. This protection adds a mapflag town, to set the only maps that allow mail operations. because there is no way to know when client closes the mail inbox window. * git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12279 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/mail.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/mail.h') diff --git a/src/map/mail.h b/src/map/mail.h index 7940018b8..9a867daa5 100644 --- a/src/map/mail.h +++ b/src/map/mail.h @@ -16,5 +16,6 @@ bool mail_setattachment(struct map_session_data *sd, struct mail_message *msg); void mail_getattachment(struct map_session_data* sd, int zeny, struct item* item); int mail_openmail(struct map_session_data *sd); void mail_deliveryfail(struct map_session_data *sd, struct mail_message *msg); +bool mail_invalid_operation(struct map_session_data *sd); #endif /* _MAIL_H_ */ -- cgit v1.2.3-60-g2f50