feat(Core/Warden): Allow sending of custom lua payloads through Warden. (#14723)
This commit is contained in:
parent
6354d1598e
commit
246b20683f
8 changed files with 559 additions and 99 deletions
|
|
@ -1297,6 +1297,11 @@ void WorldSession::InitWarden(SessionKey const& k, std::string const& os)
|
|||
}
|
||||
}
|
||||
|
||||
Warden* WorldSession::GetWarden()
|
||||
{
|
||||
return &(*_warden);
|
||||
}
|
||||
|
||||
bool WorldSession::DosProtection::EvaluateOpcode(WorldPacket& p, time_t time) const
|
||||
{
|
||||
uint32 maxPacketCounterAllowed = GetMaxPacketCounterAllowed(p.GetOpcode());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue