summaryrefslogtreecommitdiff
path: root/src/net/tmwa/generalhandler.cpp
diff options
context:
space:
mode:
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()