summaryrefslogtreecommitdiff
path: root/src/net/tmwa/traderecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-11 01:00:01 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-11 01:00:01 +0300
commit2f768a34f72560ee8b2934228f548a4909533887 (patch)
tree0849395dea15a851fcec1a6236c29648cb41add7 /src/net/tmwa/traderecv.cpp
parent05edba87ab0dae7ac4480c86655afe59cd1dd3bd (diff)
downloadmanaverse-2f768a34f72560ee8b2934228f548a4909533887.tar.gz
manaverse-2f768a34f72560ee8b2934228f548a4909533887.tar.bz2
manaverse-2f768a34f72560ee8b2934228f548a4909533887.tar.xz
manaverse-2f768a34f72560ee8b2934228f548a4909533887.zip
Rename player_relations into playerRelations.
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);