From e0ced0ca822ce5459be5191381015411eed5af2d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 30 Apr 2015 19:47:59 +0300 Subject: fix compilation error. --- src/net/eathena/mailhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/eathena') 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) -- cgit v1.2.3-70-g09d2