summaryrefslogtreecommitdiff
path: root/src/net/eathena/network.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-02 20:58:41 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-02 20:58:41 +0300
commit84d2bab38202cd52b5eb0a37c12204ab6f607915 (patch)
tree2f3951b2f4f3b75f190eb2539979cc4afbace27c /src/net/eathena/network.cpp
parent40730c4fa73d403cf7284a76d9b26f7ec662afa4 (diff)
downloadmanaverse-84d2bab38202cd52b5eb0a37c12204ab6f607915.tar.gz
manaverse-84d2bab38202cd52b5eb0a37c12204ab6f607915.tar.bz2
manaverse-84d2bab38202cd52b5eb0a37c12204ab6f607915.tar.xz
manaverse-84d2bab38202cd52b5eb0a37c12204ab6f607915.zip
Remove MessageHandler class
Diffstat (limited to 'src/net/eathena/network.cpp')
-rw-r--r--src/net/eathena/network.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/net/eathena/network.cpp b/src/net/eathena/network.cpp
index 33c530989..a45b720b6 100644
--- a/src/net/eathena/network.cpp
+++ b/src/net/eathena/network.cpp
@@ -77,7 +77,6 @@
#include "net/eathena/traderecv.h"
#include "net/eathena/vendingrecv.h"
-#include "net/eathena/messagehandler.h"
#include "net/eathena/messagein.h"
#include "net/eathena/protocol.h"
@@ -110,22 +109,6 @@ void Network::registerHandlers()
#include "net/eathena/recvpackets.inc"
}
-void Network::registerHandler(MessageHandler *const handler)
-{
- if (!handler)
- return;
-
- handler->setNetwork(this);
-}
-
-void Network::unregisterHandler(MessageHandler *const handler)
-{
- if (!handler)
- return;
-
- handler->setNetwork(nullptr);
-}
-
void Network::clearHandlers()
{
}