summaryrefslogtreecommitdiff
path: root/src/net/tmwa/traderecv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/traderecv.cpp')
-rw-r--r--src/net/tmwa/traderecv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/traderecv.cpp b/src/net/tmwa/traderecv.cpp
index f846de3c0..d799d9f91 100644
--- a/src/net/tmwa/traderecv.cpp
+++ b/src/net/tmwa/traderecv.cpp
@@ -157,7 +157,7 @@ void TradeRecv::processTradeItemAddResponse(Net::MessageIn &msg)
void TradeRecv::processTradeResponse(Net::MessageIn &msg)
{
if (tradePartnerName.empty() ||
- !player_relations.hasPermission(tradePartnerName,
+ !playerRelations.hasPermission(tradePartnerName,
PlayerRelation::TRADE))
{
tradeHandler->respond(false);