summaryrefslogtreecommitdiff
path: root/src/net/tmwa/generalhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-13 23:47:18 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-13 23:47:18 +0300
commitbde97e51963bc89b5922707fa628ffbeb7b03b01 (patch)
tree4be369215b568a8c0c343a399dbf3ce43ff828cf /src/net/tmwa/generalhandler.cpp
parent8ca5d6678608c56b465ecd5fc7978333a59d2caf (diff)
downloadmanaplus-bde97e51963bc89b5922707fa628ffbeb7b03b01.tar.gz
manaplus-bde97e51963bc89b5922707fa628ffbeb7b03b01.tar.bz2
manaplus-bde97e51963bc89b5922707fa628ffbeb7b03b01.tar.xz
manaplus-bde97e51963bc89b5922707fa628ffbeb7b03b01.zip
Add empty friends handler.
Diffstat (limited to 'src/net/tmwa/generalhandler.cpp')
-rw-r--r--src/net/tmwa/generalhandler.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp
index c37fc86a0..9fcdeed15 100644
--- a/src/net/tmwa/generalhandler.cpp
+++ b/src/net/tmwa/generalhandler.cpp
@@ -48,6 +48,7 @@
#include "net/tmwa/chathandler.h"
#include "net/tmwa/charserverhandler.h"
#include "net/tmwa/familyhandler.h"
+#include "net/tmwa/friendshandler.h"
#include "net/tmwa/gamehandler.h"
#include "net/tmwa/guildhandler.h"
#include "net/tmwa/homunculushandler.h"
@@ -109,7 +110,8 @@ GeneralHandler::GeneralHandler() :
mBankHandler(new BankHandler),
mMercenaryHandler(new MercenaryHandler),
mBuyingStoreHandler(new BuyingStoreHandler),
- mHomunculusHandler(new HomunculusHandler)
+ mHomunculusHandler(new HomunculusHandler),
+ mFriendsHandler(new FriendsHandler)
{
static const uint16_t _messages[] =
{
@@ -231,6 +233,7 @@ void GeneralHandler::load()
mNetwork->registerHandler(mMercenaryHandler);
mNetwork->registerHandler(mBuyingStoreHandler);
mNetwork->registerHandler(mHomunculusHandler);
+ mNetwork->registerHandler(mFriendsHandler);
}
void GeneralHandler::reload()