summaryrefslogtreecommitdiff
path: root/src/net/tmwa/tradehandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-29 21:16:55 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-30 14:43:34 +0300
commit9a39234015f092c5eb0f461da91689e71bf43943 (patch)
treee798f45bc08f3015020972a2db0f015eb8cc0c42 /src/net/tmwa/tradehandler.cpp
parent23a3e48c33b14cc0bda0eb3fda361961e8d6172c (diff)
downloadmv-9a39234015f092c5eb0f461da91689e71bf43943.tar.gz
mv-9a39234015f092c5eb0f461da91689e71bf43943.tar.bz2
mv-9a39234015f092c5eb0f461da91689e71bf43943.tar.xz
mv-9a39234015f092c5eb0f461da91689e71bf43943.zip
Fix code style.
Diffstat (limited to 'src/net/tmwa/tradehandler.cpp')
-rw-r--r--src/net/tmwa/tradehandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/tmwa/tradehandler.cpp b/src/net/tmwa/tradehandler.cpp
index 76a8903d6..c445f8d06 100644
--- a/src/net/tmwa/tradehandler.cpp
+++ b/src/net/tmwa/tradehandler.cpp
@@ -259,7 +259,8 @@ void TradeHandler::processTradeItemAddResponse(Net::MessageIn &msg)
void TradeHandler::processTradeResponse(Net::MessageIn &msg)
{
if (tradePartnerName.empty() ||
- !player_relations.hasPermission(tradePartnerName, PlayerRelation::TRADE))
+ !player_relations.hasPermission(tradePartnerName,
+ PlayerRelation::TRADE))
{
tradeHandler->respond(false);
return;