summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/vendinghandler.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/eathena/vendinghandler.cpp b/src/net/eathena/vendinghandler.cpp
index 3228cf0db..54f1b74c1 100644
--- a/src/net/eathena/vendinghandler.cpp
+++ b/src/net/eathena/vendinghandler.cpp
@@ -24,6 +24,8 @@
#include "being/being.h"
+#include "listeners/vendingslotslistener.h"
+
#include "net/ea/eaprotocol.h"
#include "net/eathena/messageout.h"
@@ -92,7 +94,7 @@ void VendingHandler::handleMessage(Net::MessageIn &msg)
void VendingHandler::processOpenReq(Net::MessageIn &msg)
{
- msg.readInt16("slots allowed");
+ VendingSlotsListener::distributeEvent(msg.readInt16("slots allowed"));
}
void VendingHandler::processShowBoard(Net::MessageIn &msg)