diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-10-05 01:41:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-10-05 01:41:54 +0300 |
commit | ab545fee3daf930dc46aaf303355c1c578320484 (patch) | |
tree | 24c8286acb9fea22b1e689810be5534de2323623 /src/net/ea | |
parent | 851bee28374c5c60114c9f78299e28eaa14891b3 (diff) | |
download | manaverse-ab545fee3daf930dc46aaf303355c1c578320484.tar.gz manaverse-ab545fee3daf930dc46aaf303355c1c578320484.tar.bz2 manaverse-ab545fee3daf930dc46aaf303355c1c578320484.tar.xz manaverse-ab545fee3daf930dc46aaf303355c1c578320484.zip |
Add blacklist relation. In this mode blocked trades, emotes, speech text.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/tradehandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/tradehandler.cpp b/src/net/ea/tradehandler.cpp index a03782db2..ff39f6761 100644 --- a/src/net/ea/tradehandler.cpp +++ b/src/net/ea/tradehandler.cpp @@ -84,7 +84,7 @@ void TradeHandler::processTradeRequest(Net::MessageIn &msg) // special message about the player being occupied. std::string tradePartnerNameTemp = msg.readString(24); - if (player_relations.hasPermission(tradePartnerName, + if (player_relations.hasPermission(tradePartnerNameTemp, PlayerRelation::TRADE)) { if (PlayerInfo::isTrading() || confirmDlg) |