summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/mail2recv.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/net/eathena/mail2recv.cpp b/src/net/eathena/mail2recv.cpp
index 04f7751a3..a28455a83 100644
--- a/src/net/eathena/mail2recv.cpp
+++ b/src/net/eathena/mail2recv.cpp
@@ -28,6 +28,8 @@
#include "enums/resources/notifytypes.h"
+#include "gui/windows/mailwindow.h"
+
#include "net/messagein.h"
#include "net/eathena/mail2handler.h"
@@ -124,8 +126,10 @@ void Mail2Recv::processCheckNameResult(Net::MessageIn &msg)
mail->body,
mail->money);
break;
- case MailQueueType::Unknown:
case MailQueueType::EditMail:
+ mailWindow->createMail(mail->to);
+ break;
+ case MailQueueType::Unknown:
case MailQueueType::ValidateTO:
default:
reportAlways("Not implemented yet.");