mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
Apply style fix pt3
This commit is contained in:
parent
1392c131e7
commit
d93dbd95fe
191 changed files with 9851 additions and 676 deletions
|
|
@ -245,7 +245,9 @@ std::string Warden::Penalty(WardenCheck* check /*= NULL*/)
|
|||
void WorldSession::HandleWardenDataOpcode(WorldPacket& recvData)
|
||||
{
|
||||
if (!_warden || recvData.empty())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
_warden->DecryptData(const_cast<uint8*>(recvData.contents()), recvData.size());
|
||||
uint8 opcode;
|
||||
|
|
@ -290,10 +292,14 @@ void Warden::HandleData(ByteBuffer& /*buff*/)
|
|||
void Warden::LogPositiveToDB(WardenCheck* check)
|
||||
{
|
||||
if (!check || !_session)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (uint32(check->Action) < sWorld.getConfig(CONFIG_UINT32_WARDEN_DB_LOGLEVEL))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
static SqlStatementID insWardenPositive;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue