summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/auctionhandler.cpp4
-rw-r--r--src/net/eathena/auctionhandler.h2
-rw-r--r--src/net/eathena/protocol.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/net/eathena/auctionhandler.cpp b/src/net/eathena/auctionhandler.cpp
index a3c911e59..f390e2aae 100644
--- a/src/net/eathena/auctionhandler.cpp
+++ b/src/net/eathena/auctionhandler.cpp
@@ -124,9 +124,9 @@ void AuctionHandler::processAuctionClose(Net::MessageIn &msg)
msg.readInt16("flag");
}
-void AuctionHandler::cancelRequest() const
+void AuctionHandler::cancelReg() const
{
- createOutPacket(CMSG_AUCTION_CANCEL_REQUEST);
+ createOutPacket(CMSG_AUCTION_CANCEL_REG);
outMsg.writeInt16(0, "type"); // unused
}
diff --git a/src/net/eathena/auctionhandler.h b/src/net/eathena/auctionhandler.h
index 987cb2e57..0c8ccee3a 100644
--- a/src/net/eathena/auctionhandler.h
+++ b/src/net/eathena/auctionhandler.h
@@ -36,7 +36,7 @@ class AuctionHandler final : public MessageHandler, public Net::AuctionHandler
void handleMessage(Net::MessageIn &msg) override final;
- void cancelRequest() const override final;
+ void cancelReg() const override final;
void setItem(const Item *const item,
const int amount) const override final;
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index a413fb587..8ec1ff842 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -516,7 +516,7 @@
#define CMSG_FRIENDS_REQUEST_ACK 0x0208
#define CMSG_FRIENDS_DELETE_PLAYER 0x020a
-#define CMSG_AUCTION_CANCEL_REQUEST 0x024b
+#define CMSG_AUCTION_CANCEL_REG 0x024b
#define CMSG_AUCTION_SET_ITEM 0x024c
#define CMSG_AUCTION_REGISTER 0x024d