summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-06 14:55:47 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-06 14:55:47 +0300
commit773f760bc1a308152265c40161789d8ae318aba4 (patch)
tree58b56e08d110d78ae996c34118ed279a80f7520b /src/net/eathena
parent326ad8b0aa5ebdd55ec3f7d41238d578cafb3e23 (diff)
downloadplus-773f760bc1a308152265c40161789d8ae318aba4.tar.gz
plus-773f760bc1a308152265c40161789d8ae318aba4.tar.bz2
plus-773f760bc1a308152265c40161789d8ae318aba4.tar.xz
plus-773f760bc1a308152265c40161789d8ae318aba4.zip
Rename function AuctionHandler::cancelRequest into AuctionHandler::cancelReg.
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