summaryrefslogtreecommitdiff
path: root/src
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
parentd8e145940a4499b4218346f6bb7c50dfd44f54c0 (diff)
downloadplus-3857e69b11c26dbc20a00b21ed298b28c7e9869f.tar.gz
plus-3857e69b11c26dbc20a00b21ed298b28c7e9869f.tar.bz2
plus-3857e69b11c26dbc20a00b21ed298b28c7e9869f.tar.xz
plus-3857e69b11c26dbc20a00b21ed298b28c7e9869f.zip
fix packets handling by mailhandler.
Diffstat (limited to 'src')
-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()