diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-11 01:00:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-11 01:00:01 +0300 |
commit | 2f768a34f72560ee8b2934228f548a4909533887 (patch) | |
tree | 0849395dea15a851fcec1a6236c29648cb41add7 /src/net/tmwa/traderecv.cpp | |
parent | 05edba87ab0dae7ac4480c86655afe59cd1dd3bd (diff) | |
download | manaplus-2f768a34f72560ee8b2934228f548a4909533887.tar.gz manaplus-2f768a34f72560ee8b2934228f548a4909533887.tar.bz2 manaplus-2f768a34f72560ee8b2934228f548a4909533887.tar.xz manaplus-2f768a34f72560ee8b2934228f548a4909533887.zip |
Rename player_relations into playerRelations.
Diffstat (limited to 'src/net/tmwa/traderecv.cpp')
-rw-r--r-- | src/net/tmwa/traderecv.cpp | 2 |
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); |