mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
Logs::Tradeskills to LogTradeskills and more Logs::Error to LogError
This commit is contained in:
+1
-2
@@ -1628,8 +1628,7 @@ void Client::BuyTraderItem(TraderBuy_Struct* tbs, Client* Trader, const EQApplic
|
||||
if((tbs->Price * outtbs->Quantity) <= 0) {
|
||||
Message(Chat::Red, "Internal error. Aborting trade. Please report this to the ServerOP. Error code is 1");
|
||||
Trader->Message(Chat::Red, "Internal error. Aborting trade. Please report this to the ServerOP. Error code is 1");
|
||||
Log(Logs::General, Logs::Error, "Bazaar: Zero price transaction between %s and %s aborted."
|
||||
"Item: %s, Charges: %i, TBS: Qty %i, Price: %i",
|
||||
LogError("Bazaar: Zero price transaction between [{}] and [{}] aborted. Item: [{}], Charges: [{}], TBS: Qty [{}], Price: [{}]",
|
||||
GetName(), Trader->GetName(),
|
||||
BuyItem->GetItem()->Name, BuyItem->GetCharges(), tbs->Quantity, tbs->Price);
|
||||
TradeRequestFailed(app);
|
||||
|
||||
Reference in New Issue
Block a user