summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/tradehandler.cpp2
-rw-r--r--src/net/eathena/tradehandler.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/tradehandler.cpp b/src/net/eathena/tradehandler.cpp
index 9ed75416e..6db01aa67 100644
--- a/src/net/eathena/tradehandler.cpp
+++ b/src/net/eathena/tradehandler.cpp
@@ -93,7 +93,7 @@ void TradeHandler::handleMessage(Net::MessageIn &msg)
}
}
-void TradeHandler::request(Being *being)
+void TradeHandler::request(const Being *const being)
{
if (!being)
return;
diff --git a/src/net/eathena/tradehandler.h b/src/net/eathena/tradehandler.h
index 395f9337a..0cd826ca2 100644
--- a/src/net/eathena/tradehandler.h
+++ b/src/net/eathena/tradehandler.h
@@ -42,7 +42,7 @@ class TradeHandler final : public MessageHandler, public Ea::TradeHandler
void handleMessage(Net::MessageIn &msg);
- void request(Being *being);
+ void request(const Being *const being);
void respond(bool accept);