summaryrefslogtreecommitdiff
path: root/src/net/eathena/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/eathena/generalhandler.cpp
parent8ca5d6678608c56b465ecd5fc7978333a59d2caf (diff)
downloadManaVerse-bde97e51963bc89b5922707fa628ffbeb7b03b01.tar.gz
ManaVerse-bde97e51963bc89b5922707fa628ffbeb7b03b01.tar.bz2
ManaVerse-bde97e51963bc89b5922707fa628ffbeb7b03b01.tar.xz
ManaVerse-bde97e51963bc89b5922707fa628ffbeb7b03b01.zip
Add empty friends handler.
Diffstat (limited to 'src/net/eathena/generalhandler.cpp')
-rw-r--r--src/net/eathena/generalhandler.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/eathena/generalhandler.cpp b/src/net/eathena/generalhandler.cpp
index 80277701b..04755c478 100644
--- a/src/net/eathena/generalhandler.cpp
+++ b/src/net/eathena/generalhandler.cpp
@@ -48,6 +48,7 @@
#include "net/eathena/chathandler.h"
#include "net/eathena/charserverhandler.h"
#include "net/eathena/familyhandler.h"
+#include "net/eathena/friendshandler.h"
#include "net/eathena/gamehandler.h"
#include "net/eathena/guildhandler.h"
#include "net/eathena/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[] =
{
@@ -282,6 +284,7 @@ void GeneralHandler::load()
mNetwork->registerHandler(mMercenaryHandler);
mNetwork->registerHandler(mBuyingStoreHandler);
mNetwork->registerHandler(mHomunculusHandler);
+ mNetwork->registerHandler(mFriendsHandler);
}
void GeneralHandler::reload()