summaryrefslogtreecommitdiff
path: root/src/net/eathena/mailhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/mailhandler.cpp')
-rw-r--r--src/net/eathena/mailhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/mailhandler.cpp b/src/net/eathena/mailhandler.cpp
index 9acab7718..b17823064 100644
--- a/src/net/eathena/mailhandler.cpp
+++ b/src/net/eathena/mailhandler.cpp
@@ -216,7 +216,7 @@ void MailHandler::processNewMail(Net::MessageIn &msg)
NotifyManager::notify(NotifyTypes::NEW_MAIL,
strprintf(_("You have new mail from %s with subject %s"),
sender.c_str(), subj.c_str()));
- refresh();
+ mailHandler->refresh();
}
void MailHandler::processSetAttachmentAck(Net::MessageIn &msg)