mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
Style and log messages
This commit is contained in:
committed by
Mat Sutcliffe
parent
441ca41ee3
commit
5fea046c0b
@@ -7,9 +7,10 @@
|
||||
*/
|
||||
|
||||
#include "deletepilot.h"
|
||||
|
||||
#include "blackmisc/logmessage.h"
|
||||
|
||||
using namespace BlackMisc;
|
||||
|
||||
namespace BlackCore
|
||||
{
|
||||
namespace Fsd
|
||||
@@ -34,9 +35,10 @@ namespace BlackCore
|
||||
{
|
||||
if (tokens.size() < 1)
|
||||
{
|
||||
BlackMisc::CLogMessage(static_cast<DeletePilot *>(nullptr)).debug(u"Wrong number of arguments.");
|
||||
CLogMessage(static_cast<DeletePilot *>(nullptr)).debug(u"Wrong number of arguments.");
|
||||
return {};
|
||||
};
|
||||
}
|
||||
|
||||
// VATSIM FSD will always supply the CERTIFICATE ID when it rebroadcasts this PDU without regard for whether
|
||||
// the client originally specified it. But other FSDs might not.
|
||||
DeletePilot packet(tokens[0], (tokens.size() >= 2) ? tokens[1] : "");
|
||||
|
||||
Reference in New Issue
Block a user