summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/mailhandler.cpp2
-rw-r--r--src/net/eathena/mailhandler.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/mailhandler.cpp b/src/net/eathena/mailhandler.cpp
index 24eb24a66..29f7d8fd7 100644
--- a/src/net/eathena/mailhandler.cpp
+++ b/src/net/eathena/mailhandler.cpp
@@ -59,7 +59,7 @@ void MailHandler::handleMessage(Net::MessageIn &msg)
}
}
-void MailHandler::processMailOpen(Net::MessageIn &msg) const
+void MailHandler::processMailOpen(Net::MessageIn &msg)
{
const int flag = msg.readInt32("flag");
switch (flag)
diff --git a/src/net/eathena/mailhandler.h b/src/net/eathena/mailhandler.h
index b6e4090ad..e279e0f26 100644
--- a/src/net/eathena/mailhandler.h
+++ b/src/net/eathena/mailhandler.h
@@ -57,7 +57,7 @@ class MailHandler final : public MessageHandler, public Net::MailHandler
std::string message) override final;
protected:
- void processMailOpen(Net::MessageIn &msg) const;
+ static void processMailOpen(Net::MessageIn &msg);
};
} // namespace EAthena