summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/tradehandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/ea/tradehandler.cpp b/src/net/ea/tradehandler.cpp
index e91541cb7..19aa474e3 100644
--- a/src/net/ea/tradehandler.cpp
+++ b/src/net/ea/tradehandler.cpp
@@ -122,7 +122,8 @@ void TradeHandler::processTradeRequest(Net::MessageIn &msg)
void TradeHandler::processTradeResponse(Net::MessageIn &msg)
{
if (confirmDlg || tradePartnerName.empty()
- || !player_relations.hasPermission(tradePartnerName, PlayerRelation::TRADE))
+ || !player_relations.hasPermission(tradePartnerName,
+ PlayerRelation::TRADE))
{
Net::getTradeHandler()->respond(false);
return;