summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-10 16:38:15 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-10 16:38:15 +0300
commit3857e69b11c26dbc20a00b21ed298b28c7e9869f (patch)
treecf444ad348ad36607571e084b1b817c68718bd93 /src/net
parentd8e145940a4499b4218346f6bb7c50dfd44f54c0 (diff)
downloadmanaplus-3857e69b11c26dbc20a00b21ed298b28c7e9869f.tar.gz
manaplus-3857e69b11c26dbc20a00b21ed298b28c7e9869f.tar.bz2
manaplus-3857e69b11c26dbc20a00b21ed298b28c7e9869f.tar.xz
manaplus-3857e69b11c26dbc20a00b21ed298b28c7e9869f.zip
fix packets handling by mailhandler.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/generalhandler.cpp1
-rw-r--r--src/net/tmwa/generalhandler.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/net/eathena/generalhandler.cpp b/src/net/eathena/generalhandler.cpp
index 1dcedd29d..c9f319fea 100644
--- a/src/net/eathena/generalhandler.cpp
+++ b/src/net/eathena/generalhandler.cpp
@@ -194,6 +194,7 @@ void GeneralHandler::load()
mNetwork->registerHandler(mPartyHandler.get());
mNetwork->registerHandler(mPetHandler.get());
mNetwork->registerHandler(mQuestHandler.get());
+ mNetwork->registerHandler(mMailHandler.get());
}
void GeneralHandler::reload()
diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp
index bd812b6b3..c683c220d 100644
--- a/src/net/tmwa/generalhandler.cpp
+++ b/src/net/tmwa/generalhandler.cpp
@@ -210,6 +210,7 @@ void GeneralHandler::load()
mNetwork->registerHandler(mPartyHandler.get());
mNetwork->registerHandler(mPetHandler.get());
mNetwork->registerHandler(mQuestHandler.get());
+ mNetwork->registerHandler(mMailHandler.get());
}
void GeneralHandler::reload()