summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-10-30 03:38:25 +0300
committerAndrei Karas <akaras@inbox.ru>2011-10-30 03:38:25 +0300
commit2c3c118c03ece5cad2b73affffbcbbc5a5746c7a (patch)
treee4c5fd3488b9d33902507c39b8b87f6ccfd848ed /src/net/ea
parent8f761f1bbdb87fd4fd815ea57eb127b9ead27a20 (diff)
downloadManaVerse-2c3c118c03ece5cad2b73affffbcbbc5a5746c7a.tar.gz
ManaVerse-2c3c118c03ece5cad2b73affffbcbbc5a5746c7a.tar.bz2
ManaVerse-2c3c118c03ece5cad2b73affffbcbbc5a5746c7a.tar.xz
ManaVerse-2c3c118c03ece5cad2b73affffbcbbc5a5746c7a.zip
Fix code style.
Diffstat (limited to 'src/net/ea')
-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;