summaryrefslogtreecommitdiff
path: root/src/net/eathena/mail2handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/mail2handler.cpp')
-rw-r--r--src/net/eathena/mail2handler.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/net/eathena/mail2handler.cpp b/src/net/eathena/mail2handler.cpp
index b4b6de984..4797eaf82 100644
--- a/src/net/eathena/mail2handler.cpp
+++ b/src/net/eathena/mail2handler.cpp
@@ -216,4 +216,14 @@ void Mail2Handler::openMailBox(const int openType) const
outMsg.writeInt64(0, "mail id");
}
+void Mail2Handler::closeMailBox() const
+{
+ if (packetVersion < 20131211 ||
+ serverVersion < 19)
+ {
+ return;
+ }
+ createOutPacket(CMSG_MAIL2_CLOSE_MAILBOX);
+}
+
} // namespace EAthena