Core/WorldSession: Add RBAC permission for skipping idle connection check
This commit is contained in:
1 parent
ba7e7554ec
commit
9ed805b6b6
4 files changed
+12
-5
No files matched your search
@@ -307,7 +307,7 @@ bool WorldSession::Update(uint32 diff, PacketFilter& updater)
|
||||
|
||||
///- Before we process anything:
|
||||
/// If necessary, kick the player from the character select screen
|
||||
if (IsConnectionIdle())
|
||||
if (IsConnectionIdle() && !HasPermission(rbac::RBAC_PERM_IGNORE_IDLE_CONNECTION))
|
||||
m_Socket->CloseSocket();
|
||||
|
||||
///- Retrieve packets from the receive queue and call the appropriate handlers
|
||||
|
||||
Reference in new issue
Block a user